CVE-2023-29205CWE-79

org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro

Critical · published April 15, 2023

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

🚨 A sneaky XSS vulnerability is lurking in XWiki Commons, allowing users to inject harmful scripts through the HTML macro! 🔥 Think of XWiki as a library where anyone can add their own book. If the librarian doesn’t check the content, someone could slip in a novel filled with malware! That’s how this HTML macro flaw works—it lets users add dangerous scripts disguised as harmless content. An attacker could exploit this vulnerability to run malicious scripts in the context of other users, potentially stealing sensitive information or hijacking accounts. In a collaborative environment like a wiki, this could lead to widespread chaos and a significant loss of user trust.

Put simply

Think of XWiki as a library where anyone can add their own book. If the librarian doesn’t check the content, someone could slip in a novel filled with malware! That’s how this HTML macro flaw works—it lets users add dangerous scripts disguised as harmless content. This XSS vulnerability occurs because the HTML macro fails to properly neutralize script-related HTML tags, allowing users to embed malicious code directly in their profile pages.

What to do

An attacker could exploit this vulnerability to run malicious scripts in the context of other users, potentially stealing sensitive information or hijacking accounts. In a collaborative environment like a wiki, this could lead to widespread chaos and a significant loss of user trust. To protect your instance, upgrade to XWiki version 14.8RC1 immediately. Also, consider reviewing your user permissions to limit access to the HTML macro for less trusted users. Regularly audit what content is being added to your wiki. You've got this! With these steps, you'll be a security hero in no time! 🛡️

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.00593 · 47.7th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-04-15T15:27Z
EPSS history
Timeline
  • 15 APR 15:27Z
    org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro
    cvelistv5