CVE-2023-40176CWE-79

SXSS in the user profile via the timezone displayer

Critical · published August 23, 2023

Patch now

High probability of exploitation

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

CVSS v3.1
9.1
EPSS
80%
Percentile
99.6
In the wild
Unconfirmed
What it is

🚨 A crafty stored XSS attack lurks in the XWiki Platform, letting any registered user hijack profiles with a cleverly crafted payload! 🔥 Think of this like a mischievous guest at a hotel who updates their room service order to include a hidden message. When staff check the order, they unknowingly deliver a nasty surprise to everyone who comes to visit! If exploited, an attacker could execute malicious scripts whenever a user views the compromised profile. This means they could steal sensitive information and even gain elevated access rights, potentially turning a simple profile visit into a full-blown security breach!

Put simply

Think of this like a mischievous guest at a hotel who updates their room service order to include a hidden message. When staff check the order, they unknowingly deliver a nasty surprise to everyone who comes to visit! This vulnerability allows users to inject scripts into their profile by manipulating the timezone preference. Despite being a dropdown selection, attackers can set the value via JavaScript or a crafted URL, leading to the execution of unescaped payloads when other users access the profile.

What to do

If exploited, an attacker could execute malicious scripts whenever a user views the compromised profile. This means they could steal sensitive information and even gain elevated access rights, potentially turning a simple profile visit into a full-blown security breach! Update to XWiki version 14.10.5 or 15.1RC1 immediately to close this gap. Regularly educate users on best practices, and consider implementing Content Security Policy headers for an additional layer of defense. 🛡️ You've got this! Fixing this vulnerability will boost your security shield and protect your users! 💪✨

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.79989 · 99.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-08-23T19:33Z
EPSS history
Timeline
  • 23 AUG 19:33Z
    SXSS in the user profile via the timezone displayer
    cvelistv5