CVE-2023-32071CWE-116CWE-79

XWiki Platform vulnerable to RXSS via editor parameter - importinline template

Critical · published May 9, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 9.1. It sits in the 99.4th percentile for exploit probability.

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

🚨 A simple URL is the gateway to running JavaScript with any user's rights on XWiki — imagine the chaos that could ensue! 😱 It's like giving a hotel guest a magic key that opens every room in the building, allowing them to snoop around without anyone being the wiser. Just one misdirected click leads to a world of trouble! An attacker could exploit this vulnerability to execute malicious scripts, potentially hijacking user sessions, stealing sensitive data, or defacing the wiki. With the ability to run JavaScript with the permissions of any user, the risks escalate from simple pranks to serious breaches of privacy and security.

Put simply

It's like giving a hotel guest a magic key that opens every room in the building, allowing them to snoop around without anyone being the wiser. Just one misdirected click leads to a world of trouble! This vulnerability allows for cross-site scripting (XSS) by leading a user to a specially crafted URL targeting a page with attachments. The flaw exists in XWiki versions 2.2-milestone-1 and prior to 14.4.8, 14.10.4, and 15.0-rc-1, where it fails to properly validate input before executing JavaScript.

What to do

An attacker could exploit this vulnerability to execute malicious scripts, potentially hijacking user sessions, stealing sensitive data, or defacing the wiki. With the ability to run JavaScript with the permissions of any user, the risks escalate from simple pranks to serious breaches of privacy and security. Update to XWiki versions 15.0-rc-1, 14.10.4, or 14.4.8 immediately! If an immediate upgrade isn’t feasible, you can apply a temporary fix by modifying the `<xwiki app>/templates/importinline.vm` file as indicated in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01. Be proactive about your wiki's security! You've got this! By following these steps, you'll keep your XWiki 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.70386 · 99.4th percentile
Weaknesses
CWE-116 · Improper Encoding or Escaping of Output; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-05-09T15:42Z
EPSS history
Timeline
  • 09 MAY 15:42Z
    XWiki Platform vulnerable to RXSS via editor parameter - importinline template
    cvelistv5