Code injection in xwiki-platform-web-templates
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights on a page (e.g., it's own user page), can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the information loaded from attachments in `imported.vm`, `importinline.vm`, and `packagelist.vm`. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
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 | before 13.10.11; 14.0.0 to before 14.4.8; 14.5.0 to before 14.10.1 | 13.10.11, 14.4.8, 14.10.1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 1.0B1 to before 13.10.11 | 13.10.11 | Patch available | GHSA-hg5x-3w3x-7g96 |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 14.0-rc-1 to before 14.4.8 | 14.4.8 | Patch available | GHSA-hg5x-3w3x-7g96 |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 14.5 to before 14.10.1 | 14.10.1 | Patch available | GHSA-hg5x-3w3x-7g96 |
- xwiki-platform VendorXWiki Affected before 13.10.11; 14.0.0 to before 14.4.8; 14.5.0 to before 14.10.1 Fixed in 13.10.11, 14.4.8, 14.10.1 Patch available CNA
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 1.0B1 to before 13.10.11 Fixed in 13.10.11 Patch available GHSA-hg5x-3w3x-7g96
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 14.0-rc-1 to before 14.4.8 Fixed in 14.4.8 Patch available GHSA-hg5x-3w3x-7g96
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 14.5 to before 14.10.1 Fixed in 14.10.1 Patch available GHSA-hg5x-3w3x-7g96
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 13.10.11, 14.4.8, 14.10.1
- Fix · GHSA-hg5x-3w3x-7g96 org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 13.10.11 Advisory →
- Fix · GHSA-hg5x-3w3x-7g96 org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 14.4.8 Advisory →
- Fix · GHSA-hg5x-3w3x-7g96 org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 14.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-29512
- 2026-10-03 Alias added: GHSA-hg5x-3w3x-7g96
References
Exploit 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-29512 · CVE Program
- CVE-2023-29512 · NVD
- FIRST EPSS
- GHSA-hg5x-3w3x-7g96 · 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