CVE-2023-29512
Published: 19 April 2023
Summary
CVE-2023-29512 is a critical-severity Injection (CWE-74) vulnerability in Xwiki Xwiki. Its CVSS base score is 9.9 (Critical).
Operationally, ranked in the top 3.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
XWiki Platform contains a remote code execution vulnerability that affects the default-installed templates imported.vm, importinline.vm, and packagelist.vm. The root cause is insufficient escaping of data loaded from attachments, which permits any user holding edit rights on a page to inject and execute arbitrary Groovy, Python, or Velocity code. The flaw is tracked as CWE-74 and carries a CVSS 3.1 score of 9.9.
An attacker with the ability to edit any page, such as their own user profile, can upload a crafted attachment and trigger code execution that grants full control over the XWiki installation, including access to all content and server resources. Because the vulnerable templates are present by default, exploitation requires no additional configuration or elevated privileges beyond ordinary edit rights.
Official advisories and the XWiki security team recommend immediate upgrade to versions 15.0-rc-1, 14.10.1, 14.4.8, or 13.10.11; no workarounds are available. The associated EPSS score has remained stable at 0.2936 since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1323
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Developer assessments and testing (including injection-focused techniques) identify improper neutralization of special elements, and the verifiable flaw remediation corrects them pre-deployment.
Identifies indicators of injection attacks (command, SQL, LDAP, etc.) via anomaly and attack monitoring.