CVE-2023-35162CWE-79

XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions template

Critical · published June 23, 2023

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

🚨 An XSS vulnerability in XWiki can let attackers inject JavaScript through crafted URLs, turning a friendly wiki page into a playground of mischief! 🔥 Think of this like a restaurant with a menu that allows customers to scribble their own ingredients onto their orders. If the kitchen never checks the notes, someone could sneak in some very questionable 'flavors' that ruin the whole meal! An attacker could exploit this by crafting a malicious URL, injecting their own JavaScript to execute harmful scripts, like stealing cookies or malicious redirects. With a CVSS score of 9.7, this flaw could lead to devastating consequences, including unauthorized access to sensitive information and a total loss of trust from users.

Put simply

Think of this like a restaurant with a menu that allows customers to scribble their own ingredients onto their orders. If the kitchen never checks the notes, someone could sneak in some very questionable 'flavors' that ruin the whole meal! This XSS vulnerability allows users to manipulate the `previewactions` template URLs to inject arbitrary JavaScript into the page, effectively bypassing existing security checks.

What to do

An attacker could exploit this by crafting a malicious URL, injecting their own JavaScript to execute harmful scripts, like stealing cookies or malicious redirects. With a CVSS score of 9.7, this flaw could lead to devastating consequences, including unauthorized access to sensitive information and a total loss of trust from users. Update XWiki immediately to version 14.10.5 or 15.1-rc-1 to patch this vulnerability. Additionally, review your configuration and restrict access to potentially exploitable templates. Regularly audit your usages of URL parameters to prevent similar issues in the future. You've got this! By taking these steps, you'll keep your XWiki secure and your users safe! 🛡️

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.02377 · 83.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-06-23T18:52Z
EPSS history
Timeline
  • 23 JUN 18:52Z
    XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions template
    cvelistv5