CVE-2022-36099CWE-94CWE-95

XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability

Critical · published September 8, 2022

Patch now

High probability of exploitation

CVSS calls it critical at 9.9. It sits in the 99.5th percentile for exploit probability.

CVSS v3.1
9.9
EPSS
76%
Percentile
99.5
In the wild
Unconfirmed
What it is

🚨 It’s possible to inject arbitrary code into your XWiki installation just by having view access! 🔥 Think of this like a restaurant where the menu is wide open, letting any customer scribble extra ingredients onto their order—no one checks what’s in those scribbles. That’s how easy it is for an attacker to slip in malicious scripts if they can access an affected page! An attacker could exploit this vulnerability to run arbitrary Groovy, Python, or Velocity code, allowing them to bypass all security checks. They could modify, disclose, or even disrupt the entire wiki’s content, leading to potentially devastating consequences for your data and service availability!

Put simply

Think of this like a restaurant where the menu is wide open, letting any customer scribble extra ingredients onto their order—no one checks what’s in those scribbles. That’s how easy it is for an attacker to slip in malicious scripts if they can access an affected page! This vulnerability in XWiki allows users with view access to inject malicious scripts through URL parameters using the `XWikiServerClassSheet`. This enables attackers to execute arbitrary code, impacting permissions and access controls.

What to do

An attacker could exploit this vulnerability to run arbitrary Groovy, Python, or Velocity code, allowing them to bypass all security checks. They could modify, disclose, or even disrupt the entire wiki’s content, leading to potentially devastating consequences for your data and service availability! Immediately update your XWiki installations to versions 13.10.6 or 14.4 to patch this vulnerability. If updating isn't possible right away, manually edit the affected documents or import from a non-vulnerable version as a temporary workaround. Don’t wait—act now! You’ve got this! With these steps, your XWiki is on the path to becoming secure again. 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.76348 · 99.5th percentile
Weaknesses
CWE-94 · Improper Control of Generation of Code ('Code Injection'); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2022-09-08T20:45Z
EPSS history
Timeline
  • 08 SEP 20:45Z
    XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability
    cvelistv5