XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action
Key facts
- Attack vector
- Network
- Privileges required
- Low
- 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 create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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 | 3.2-milestone-3 to before 14.10.9; 15.0-rc-1 to before 15.4-rc-1 | 14.10.9, 15.4-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 3.2-milestone-3 to before 14.10.9 | 14.10.9 | Patch available | GHSA-4f8m-7h83-9f6m |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 15.0-rc-1 to before 15.4-rc-1 | 15.4-rc-1 | Patch available | GHSA-4f8m-7h83-9f6m |
- xwiki-platform VendorXWiki Affected 3.2-milestone-3 to before 14.10.9; 15.0-rc-1 to before 15.4-rc-1 Fixed in 14.10.9, 15.4-rc-1 Patch available CNA
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 3.2-milestone-3 to before 14.10.9 Fixed in 14.10.9 Patch available GHSA-4f8m-7h83-9f6m
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 15.0-rc-1 to before 15.4-rc-1 Fixed in 15.4-rc-1 Patch available GHSA-4f8m-7h83-9f6m
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | before 14.10.9 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* | 15.0 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* | 15.0 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* | 15.1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* | 15.1 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:* | 15.2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:* | 15.2 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:* | 15.3 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:* | 15.3 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions before 14.10.9 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* Versions 15.0 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* Versions 15.0 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* Versions 15.1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* Versions 15.1 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:* Versions 15.2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:* Versions 15.2 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:* Versions 15.3 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:* Versions 15.3 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.9, 15.4-rc-1
- Fix · GHSA-4f8m-7h83-9f6m org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 14.10.9 Advisory →
- Fix · GHSA-4f8m-7h83-9f6m org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 15.4-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40572
- 2026-10-03 Alias added: GHSA-4f8m-7h83-9f6m
References
Patch 2
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-40572 · CVE Program
- CVE-2023-40572 · NVD
- FIRST EPSS
- GHSA-4f8m-7h83-9f6m · 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