CVE-2023-37908CWE-83

org.xwiki.rendering:xwiki-rendering-xml Improper Neutralization of Invalid Characters in Identifiers in Web Pages vulnerability

Critical · published October 25, 2023

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

🔥 A crafty little flaw in XWiki Rendering sneaks in arbitrary HTML via faulty attribute handling! Think of it like a restaurant that allows diners to write their own orders on the receipt but misses filtering out toxic ingredients — you end up with a plate full of dangerous surprises. An attacker could exploit this vulnerability by injecting malicious JavaScript that executes when users hover over a link. If a privileged user interacts with this link, it opens the door for serious server-side code execution, potentially compromising the entire XWiki instance and all its confidential data! Talk about a recipe for disaster!

Put simply

Think of it like a restaurant that allows diners to write their own orders on the receipt but misses filtering out toxic ingredients — you end up with a plate full of dangerous surprises. This XSS vulnerability occurs during the XHTML rendering process when invalid attribute names are inserted without proper validation, allowing attackers to execute scripts in the user's session context.

What to do

An attacker could exploit this vulnerability by injecting malicious JavaScript that executes when users hover over a link. If a privileged user interacts with this link, it opens the door for serious server-side code execution, potentially compromising the entire XWiki instance and all its confidential data! Talk about a recipe for disaster! Upgrade to XWiki version 14.10.4 or 15.0 RC1 immediately! This patch cleans and validates attributes, ensuring that no sneaky scripts can make their way into your documents. No workarounds available, so it's patch first and worry less! You've got this! Secure your XWiki today and keep your site 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.01058 · 64.2th percentile
Weakness
CWE-83 · Improper Neutralization of Script in Attributes in a Web Page
Published
2023-10-25T16:53Z
EPSS history
Timeline
  • 25 OCT 16:53Z
    org.xwiki.rendering:xwiki-rendering-xml Improper Neutralization of Invalid Characters in Identifiers in Web Pages vulnerability
    cvelistv5