CVE-2023-37277
criticalpriority · track · 38EPSS 0.007 · 52 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.8–9.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- Maven com.xpn.xwiki.platform:xwiki-core-rest-server1.8 → 14.10.8osvUSpkg:maven/com.xpn.xwiki.platform/xwiki-core-rest-server
- Maven com.xpn.xwiki.platform:xwiki-rest1.8 → 14.10.8osvUSpkg:maven/com.xpn.xwiki.platform/xwiki-rest
- Maven org.xwiki.platform:xwiki-platform-rest-server1.8 → 14.10.8osvUSpkg:maven/org.xwiki.platform/xwiki-platform-rest-server
- Maven org.xwiki.platform:xwiki-platform-rest-server15.0-rc-1 → 15.2osvUSpkg:maven/org.xwiki.platform/xwiki-platform-rest-server
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-6xxr-648m-gch6XWiki Platform vulnerable to cross-site request forgery (CSRF) via the REST API2023-07-10ghsa · osvUS
### Impact 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. ### Patches 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. ### Workarounds It is possible to check for the `Origin` header in a reverse proxy to protect the REST endpoint from CSRF attacks, see [the Jira issue](https://jira.xwiki.org/browse/XWIKI-20135) for an example configuration. ### References * https://jira.xwiki.org/browse/XWIKI-20135 * https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-37277/cnnvd
- https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6cnnvd
- https://jira.xwiki.org/browse/XWIKI-20135cnnvd
- https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-20135enisa_euvd
- https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan