CVE-2023-35158CWE-87

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in restore template

Critical · published June 23, 2023

CVSS v3.1
9.7
EPSS
2%
Percentile
81.1
In the wild
Unconfirmed
What it is

🚨 A mischievous URL can unleash JavaScript mayhem! With just a crafty link, attackers can inject scripts into XWiki pages, opening the door for full-blown XSS attacks. 🔥 Think of it like a restaurant where a customer can slip a note directly to the chef, ordering a dish that’s not on the menu. If the chef doesn’t check the note, they might prep something disastrous without knowing it! An attacker could exploit this vulnerability to run malicious scripts on your users' browsers, stealing sensitive information or hijacking their sessions—absolutely devastating for both users and your organization. With a CVSS score of 9.7, this is a serious risk that can lead to widespread data breaches and loss of trust.

Put simply

Think of it like a restaurant where a customer can slip a note directly to the chef, ordering a dish that’s not on the menu. If the chef doesn’t check the note, they might prep something disastrous without knowing it! This XSS vulnerability allows users to forge a URL that executes JavaScript code in the context of the user's browser session, exploiting the restore template functionality in XWiki. It’s been lurking since version 9.4-rc-1, ready to cause chaos.

What to do

An attacker could exploit this vulnerability to run malicious scripts on your users' browsers, stealing sensitive information or hijacking their sessions—absolutely devastating for both users and your organization. With a CVSS score of 9.7, this is a serious risk that can lead to widespread data breaches and loss of trust. To protect against this vulnerability, update your XWiki platform immediately to version 14.10.5 or 15.1-rc-1. Additionally, review your input validation and ensure that user-generated content is properly sanitized. Don't let those crafty attackers get the upper hand! You've got this! Follow these steps, and you'll fortify your defenses 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.02048 · 81.1th percentile
Weakness
CWE-87 · Improper Neutralization of Alternate XSS Syntax
Published
2023-06-23T18:26Z
EPSS history
Timeline
  • 23 JUN 18:26Z
    XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in restore template
    cvelistv5