CVE-2023-31126CWE-86

Improper Neutralization of Invalid Characters in Data Attribute Names in org.xwiki.commons:xwiki-commons-xml

Critical · published May 9, 2023

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

🚨 An invalid data attribute in XWiki's HTML sanitizer could open the door for cross-site scripting (XSS) attacks — think of it as a sneaky chef slipping allergens into a dish because nobody checked the ingredient list! 🔥 It's like serving a meal without verifying what's in it. Just a sprinkle of unchecked HTML could let attackers add their own ingredients, leading to a menu that could compromise your entire kitchen! If an attacker exploits this vulnerability, they could inject malicious scripts that execute in the browsers of unsuspecting users. This could lead to data theft, account hijacking, or even the spread of more malicious activities within the platform, making it a critical risk for any XWiki installation!

Put simply

It's like serving a meal without verifying what's in it. Just a sprinkle of unchecked HTML could let attackers add their own ingredients, leading to a menu that could compromise your entire kitchen! This vulnerability in `org.xwiki.commons:xwiki-commons-xml` allows for arbitrary HTML injection via invalid data attributes, bypassing the HTMLCleaner’s restrictions that normally sanitize input. The flaw affects versions prior to 14.10.4 and 15.0 RC1, which have since been patched.

What to do

If an attacker exploits this vulnerability, they could inject malicious scripts that execute in the browsers of unsuspecting users. This could lead to data theft, account hijacking, or even the spread of more malicious activities within the platform, making it a critical risk for any XWiki installation! To protect your XWiki instance, immediately upgrade to version 14.10.4 or 15.0 RC1. There are no workarounds, so ensure your platform is fully updated to prevent potential exploits! You've got this! Follow these steps to secure your XWiki and keep your users safe! 🛡️

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.00818 · 56.7th percentile
Weakness
CWE-86 · Improper Neutralization of Invalid Characters in Identifiers in Web Pages
Published
2023-05-09T12:53Z
EPSS history
Timeline
  • 09 MAY 12:53Z
    Improper Neutralization of Invalid Characters in Data Attribute Names in org.xwiki.commons:xwiki-commons-xml
    cvelistv5