CVE-2023-35160CWE-87

XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template

Critical · published June 23, 2023

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

🔥 An unsuspecting URL can trigger a surprise JavaScript alert, turning your XWiki platform into a playground for attackers! Think of it like a restaurant accepting takeout orders—only, instead of checking the menu, they blindly whip up whatever the customer writes down. If the order says 'add poison,' that could lead to disastrous results! An attacker could inject malicious JavaScript into your pages, leading to unauthorized actions like stealing cookies, capturing keystrokes, or redirecting users to phishing sites. This could be absolutely devastating for your users' data and your platform's integrity!

Put simply

Think of it like a restaurant accepting takeout orders—only, instead of checking the menu, they blindly whip up whatever the customer writes down. If the order says 'add poison,' that could lead to disastrous results! This XSS vulnerability allows attackers to craft URLs that execute JavaScript in the context of the site, exploiting the resubmit template to bypass security checks. The flaw has existed since XWiki version 2.5-milestone-2, enabling easy exploitation for anyone familiar with constructing URLs.

What to do

An attacker could inject malicious JavaScript into your pages, leading to unauthorized actions like stealing cookies, capturing keystrokes, or redirecting users to phishing sites. This could be absolutely devastating for your users' data and your platform's integrity! Immediately upgrade to XWiki version 14.10.5 or 15.1-rc-1 to patch this vulnerability. Additionally, consider implementing input validation on URL parameters to further secure your application against XSS attacks. You've got this! Patch up and reinforce your defenses—your security hero status is activated! 🛡️

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.02268 · 82.9th percentile
Weakness
CWE-87 · Improper Neutralization of Alternate XSS Syntax
Published
2023-06-23T18:48Z
EPSS history
Timeline
  • 23 JUN 18:48Z
    XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template
    cvelistv5