CVE-2023-29211
Published: 16 April 2023
Summary
CVE-2023-29211 is a critical-severity Eval Injection (CWE-95) vulnerability in Xwiki Xwiki. Its CVSS base score is 9.9 (Critical).
Operationally, ranked in the top 7.8% 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 Commons, the shared technical libraries used across multiple XWiki projects, contain an improper input sanitization flaw in the WikiManager.DeleteWiki action. The vulnerability stems from missing escaping of the wikiId URL parameter, which permits injection of Groovy, Python, or Velocity code. Any authenticated user holding view rights on the affected wiki component can trigger the flaw, resulting in arbitrary code execution with full control over the XWiki installation. The issue is tracked under CWE-95 and CWE-94 and carries a CVSS 3.1 score of 9.9.
An attacker with minimal view privileges can supply a crafted wikiId value to the DeleteWiki endpoint and execute server-side scripts. Successful exploitation grants complete read, write, and administrative access to the XWiki instance without requiring further user interaction or elevated permissions.
The GitHub Security Advisory GHSA-w7v9-fc49-4qg4 and the linked XWiki Jira ticket XWIKI-20297 state that the flaw is resolved in versions 13.10.11, 14.4.7, and 14.10. Corresponding commits in the xwiki-platform repository add proper escaping to the wikiId parameter, and administrators are advised to upgrade to one of the patched releases.
EPSS scores have remained low, with a current value of 0.0781 and a peak of 0.0847, indicating limited observed exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1406
Vulnerability details
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights `WikiManager.DeleteWiki` can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause…
more
is improper escaping of the `wikiId` url parameter. The problem has been patched on XWiki 13.10.11, 14.4.7, and 14.10.
- 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.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.