CVE-2022-41928CWE-95

XWiki Platform vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml

Critical · published November 23, 2022

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

🔥 Watch out! An eval injection vulnerability in XWiki's AttachmentSelector.xml can let attackers run arbitrary code if they slip in a sneaky payload! Imagine a restaurant that doesn’t check the ingredients before cooking. A chef could add anything to a dish, including something dangerous, just because no one asked to see the recipe! That's how this flaw works – by allowing harmful commands without any checks. An attacker could exploit this flaw to execute malicious code, potentially compromising the entire server running your wiki. Imagine someone slipping a toxic ingredient into your dish – the damage could be catastrophic and absolutely devastating for your data integrity!

Put simply

Imagine a restaurant that doesn’t check the ingredients before cooking. A chef could add anything to a dish, including something dangerous, just because no one asked to see the recipe! That's how this flaw works – by allowing harmful commands without any checks. This vulnerability allows improper neutralization of directives in dynamically evaluated code, specifically in the AttachmentSelector.xml file, enabling attackers to run commands through crafted payloads in properties like 'height' or 'alt'.

What to do

An attacker could exploit this flaw to execute malicious code, potentially compromising the entire server running your wiki. Imagine someone slipping a toxic ingredient into your dish – the damage could be catastrophic and absolutely devastating for your data integrity! Update your XWiki to version 14.5-rc-1, 14.4.2, or 13.10.7 (or later) to fix this vulnerability. You can directly modify the XWiki.AttachmentSelector settings to ensure you are protected against this eval injection risk. You've got this! Follow the steps to reinforce your wiki's security and keep your data safe! 🛡️

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.01026 · 63.3th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2022-11-23T00:00Z
EPSS history
Timeline
  • 23 NOV 00:00Z
    XWiki Platform vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml
    cvelistv5