CVE-2023-29201CWE-79

org.xwiki.commons:xwiki-commons-xml Cross-site Scripting vulnerability

Critical · published April 15, 2023

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

🚨 A tiny oversight in XWiki's HTML cleaner can unleash a world of chaos! This vulnerability allows privileged users to execute harmful JavaScript with just a visit! 🔥 Think of this like a restaurant that only checks the main course for allergens but completely ignores the side dishes. If someone sneaks in a dangerous ingredient in the sides, it can ruin the whole meal — just like allowing malicious scripts in comments can spoil the entire XWiki instance! An attacker could inject JavaScript that runs in the context of a privileged user, potentially giving them control over the server. This could lead to a breach of sensitive information, unauthorized data manipulation, or even complete service disruption. The fallout could be absolutely devastating!

Put simply

Think of this like a restaurant that only checks the main course for allergens but completely ignores the side dishes. If someone sneaks in a dangerous ingredient in the sides, it can ruin the whole meal — just like allowing malicious scripts in comments can spoil the entire XWiki instance! This vulnerability in XWiki's 'restricted' HTML cleaner mode fails to filter harmful attributes and tags beyond `<script>` and `<style>`, allowing JavaScript injection that can be executed when a privileged user accesses a comment containing the malicious code.

What to do

An attacker could inject JavaScript that runs in the context of a privileged user, potentially giving them control over the server. This could lead to a breach of sensitive information, unauthorized data manipulation, or even complete service disruption. The fallout could be absolutely devastating! Upgrade to XWiki version 14.6 RC1 or later immediately to benefit from the newly implemented filter that restricts dangerous HTML elements and attributes. It's crucial to ensure that your system is secured against this type of injection! You've got this! By following these steps, you'll strengthen your defenses and keep your XWiki instance safe and sound! 🛡️

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.01153 · 66.7th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-04-15T14:24Z
EPSS history
Timeline
  • 15 APR 14:24Z
    org.xwiki.commons:xwiki-commons-xml Cross-site Scripting vulnerability
    cvelistv5