CVE-2023-32070CWE-83

Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers

Critical · published May 10, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

🚨 An unchecked HTML rendering flaw in XWiki could let attackers slip in malicious scripts through attributes—like a waiter serving a dish without checking for allergens. 🔥 Think of it as a restaurant that doesn’t read menu requests carefully. If someone orders 'extra spicy' without specifying the ingredients, the diner could be in for an unpleasant surprise. In this case, the ‘surprise’ is malicious JavaScript that can execute in unsuspecting users' browsers. An attacker could exploit this vulnerability to inject harmful scripts, potentially compromising user data, hijacking user sessions, or spreading malware across your entire wiki community. This is absolutely devastating for any organization relying on XWiki for collaboration and knowledge sharing!

Put simply

Think of it as a restaurant that doesn’t read menu requests carefully. If someone orders 'extra spicy' without specifying the ingredients, the diner could be in for an unpleasant surprise. In this case, the ‘surprise’ is malicious JavaScript that can execute in unsuspecting users' browsers. The flaw lies in the way prior versions of XWiki (before 14.6-rc-1) processed HTML rendering without validating attribute values, opening the door to cross-site scripting (XSS) attacks.

What to do

An attacker could exploit this vulnerability to inject harmful scripts, potentially compromising user data, hijacking user sessions, or spreading malware across your entire wiki community. This is absolutely devastating for any organization relying on XWiki for collaboration and knowledge sharing! Upgrade to XWiki version 14.6-rc-1 or later immediately. Review and sanitize any user-generated content to ensure that harmful scripts cannot be injected in the first place. There are no known workarounds, so an upgrade is essential! You've got this! Follow the steps to secure your XWiki, and you'll be back to safe browsing in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00652 · 50.6th percentile
Weakness
CWE-83 · Improper Neutralization of Script in Attributes in a Web Page
Published
2023-05-10T17:18Z
EPSS history
Timeline
  • 10 MAY 17:18Z
    Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers
    cvelistv5