CVE-2023-45136CWE-79

XWiki Platform web templates vulnerable to reflected XSS in the create document form if name validation is enabled

Critical · published October 25, 2023

CVSS v3.1
9.7
EPSS
5%
Percentile
92.4
In the wild
Unconfirmed
What it is

⚠️ XWiki has a sneaky flaw lurking in its page creation form! Users running versions 12.0-rc-1 to 12.10.12 and 15.5-rc-1 could fall victim to a reflected XSS attack — yikes! 🔥 Think of it like a restaurant where the menu allows customers to sneak in their own ingredients without checking — a recipe for disaster! An attacker can slip in malicious code, with all the privileges of the unsuspecting user who clicked the link. This vulnerability can lead to an attacker executing arbitrary commands with the user's rights. If that user has elevated permissions, it could mean game over for your entire XWiki installation, allowing for full read/write access and possibly even remote code execution! Talk about a security nightmare!

Put simply

Think of it like a restaurant where the menu allows customers to sneak in their own ingredients without checking — a recipe for disaster! An attacker can slip in malicious code, with all the privileges of the unsuspecting user who clicked the link. This reflected cross-site scripting (XSS) vulnerability in XWiki occurs when document names are not properly validated, allowing attackers to inject malicious scripts through the page creation form.

What to do

This vulnerability can lead to an attacker executing arbitrary commands with the user's rights. If that user has elevated permissions, it could mean game over for your entire XWiki installation, allowing for full read/write access and possibly even remote code execution! Talk about a security nightmare! To safeguard your installation, patch to XWiki versions 14.10.12 or 15.5-rc-1 to enable proper escaping. If you're stuck on an older version, consider manually applying the changes from the fix to the vulnerable template file `createinline.vm`. Don't wait! You've got this — just follow these steps, and you'll have your XWiki secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.05124 · 92.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-10-25T19:36Z
EPSS history
Timeline
  • 25 OCT 19:36Z
    XWiki Platform web templates vulnerable to reflected XSS in the create document form if name validation is enabled
    cvelistv5