Cyber Resilience

CVE-2023-29212

CriticalPublic PoCRCE

Published: 16 April 2023

Published
16 April 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0774 92.1th percentile
Risk Priority 24 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-29212 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.9% 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 technical libraries shared across multiple XWiki projects, contain a code injection vulnerability that allows any user with edit rights to execute arbitrary Groovy, Python, or Velocity code. The flaw stems from improper escaping of included pages within the included documents edit panel, which grants the attacker full access to the XWiki installation. The issue affects versions prior to the listed patches and carries a CVSS score of 9.9 with CWE-94 and CWE-95 classifications.

An authenticated attacker with edit permissions can supply malicious content that bypasses escaping controls, resulting in remote code execution on the server and complete compromise of the XWiki instance. No special user interface interaction or elevated privileges beyond standard edit rights are required for exploitation.

The GitHub security advisory and associated commits indicate that the vulnerability was addressed in XWiki 14.4.7 and 14.10, with the fix centered on proper escaping of included pages in the edit panel. Administrators are advised to upgrade to these or later releases to eliminate the exposure.

The EPSS score remains low, with a current value of 0.0774 and a peak of 0.0847, showing no material increase that would indicate emerging exploitation interest after disclosure.

EU & UK References

Vulnerability details

XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with edit rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is…

more

improper escaping of the included pages in the included documents edit panel. The problem has been patched on XWiki 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

xwiki
xwiki
14.10 · 14.0 — 14.4.7

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.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References