XWiki Platform vulnerable to cross-site request forgery (CSRF) via the REST API
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The REST API allows executing all actions via POST requests and accepts `text/plain`, `multipart/form-data` or `application/www-form-urlencoded` as content types which can be sent via regular HTML forms, thus allowing cross-site request forgery. With the interaction of a user with programming rights, this allows remote code execution through script macros and thus impacts the integrity, availability and confidentiality of the whole XWiki installation. For regular cookie-based authentication, the vulnerability is mitigated by SameSite cookie restrictions but as of March 2023, these are not enabled by default in Firefox and Safari. The vulnerability has been patched in XWiki 14.10.8 and 15.2 by requiring a CSRF token header for certain request types that are susceptible to CSRF attacks.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 1.8 to before 14.10.8; 15.0-rc-1 to before 15.2 | 14.10.8, 15.2 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-rest-server (Maven) | 1.8 to before 14.10.8 | 14.10.8 | Patch available | GHSA-6xxr-648m-gch6 |
| — | com.xpn.xwiki.platform:xwiki-core-rest-server (Maven) | 1.8 to before 14.10.8 | 14.10.8 | Patch available | GHSA-6xxr-648m-gch6 |
| — | com.xpn.xwiki.platform:xwiki-rest (Maven) | 1.8 to before 14.10.8 | 14.10.8 | Patch available | GHSA-6xxr-648m-gch6 |
| — | org.xwiki.platform:xwiki-platform-rest-server (Maven) | 15.0-rc-1 to before 15.2 | 15.2 | Patch available | GHSA-6xxr-648m-gch6 |
- xwiki-platform VendorXWiki Affected 1.8 to before 14.10.8; 15.0-rc-1 to before 15.2 Fixed in 14.10.8, 15.2 Patch available CNA
- org.xwiki.platform:xwiki-platform-rest-server (Maven) Vendor— Affected 1.8 to before 14.10.8 Fixed in 14.10.8 Patch available GHSA-6xxr-648m-gch6
- com.xpn.xwiki.platform:xwiki-core-rest-server (Maven) Vendor— Affected 1.8 to before 14.10.8 Fixed in 14.10.8 Patch available GHSA-6xxr-648m-gch6
- com.xpn.xwiki.platform:xwiki-rest (Maven) Vendor— Affected 1.8 to before 14.10.8 Fixed in 14.10.8 Patch available GHSA-6xxr-648m-gch6
- org.xwiki.platform:xwiki-platform-rest-server (Maven) Vendor— Affected 15.0-rc-1 to before 15.2 Fixed in 15.2 Patch available GHSA-6xxr-648m-gch6
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.8, 15.2
- Fix · GHSA-6xxr-648m-gch6 org.xwiki.platform:xwiki-platform-rest-server (Maven) Fixed in 14.10.8 Advisory →
- Fix · GHSA-6xxr-648m-gch6 com.xpn.xwiki.platform:xwiki-core-rest-server (Maven) Fixed in 14.10.8 Advisory →
- Fix · GHSA-6xxr-648m-gch6 com.xpn.xwiki.platform:xwiki-rest (Maven) Fixed in 14.10.8 Advisory →
- Fix · GHSA-6xxr-648m-gch6 org.xwiki.platform:xwiki-platform-rest-server (Maven) Fixed in 15.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-37277
- 2026-10-03 Alias added: GHSA-6xxr-648m-gch6
References
Patch 3
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-37277 · CVE Program
- CVE-2023-37277 · NVD
- FIRST EPSS
- GHSA-6xxr-648m-gch6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences