CVE-2023-37462CWE-74CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

Critical · published July 14, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.8th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
92%
Percentile
99.8
In the wild
Unconfirmed
What it is

🔥 An improper escape in XWiki could let a crafty user turn a harmless page into a playground for malicious scripts! Think of it like a hotel guest who finds a way to sneak into the penthouse by disguising the room number — one clever manipulation opens the door to the entire floor! 🏨 An attacker could execute arbitrary scripts, gaining unrestricted access to all wiki contents, which is absolutely devastating! They could read sensitive documents, modify everything, or even delete crucial information — a nightmare scenario for any organization.

Put simply

Think of it like a hotel guest who finds a way to sneak into the penthouse by disguising the room number — one clever manipulation opens the door to the entire floor! 🏨 This vulnerability exists due to improper escaping in the document `SkinsCode.XWikiSkinsSheet`, allowing attackers to use crafted page names to inject and execute scripts, including Groovy and Python macros, on the server.

What to do

An attacker could execute arbitrary scripts, gaining unrestricted access to all wiki contents, which is absolutely devastating! They could read sensitive documents, modify everything, or even delete crucial information — a nightmare scenario for any organization. Upgrade to XWiki version 14.4.8, 14.10.4, or 15.0-rc-1 immediately to patch this vulnerability. If upgrading isn’t feasible, manually apply the fix from commit `d9c88ddc` to the impacted document to secure your installation. You’ve got this! Address this vulnerability today and keep your wiki safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · 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.91592 · 99.8th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-07-14T20:39Z
EPSS history
Timeline
  • 14 JUL 20:39Z
    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui
    cvelistv5