CVE-2023-40176

published 23 Aug 2023 · updated 2 Oct 2024

SXSS in the user profile via the timezone displayer

10.0CriticalCVSS 9.1EPSS 80%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 80%. No fixed version is recorded.

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can exploit a stored XSS through their user profile by setting the payload as the value of the time zone user preference. Even though the time zone is selected from a drop down (no free text value) it can still be set from JavaScript (using the browser developer tools) or by calling the save URL on the user profile with the right query string. Once the time zone is set it is displayed without escaping which means the payload gets executed for any user that visits the malicious user profile, allowing the attacker to steal information and even gain more access rights (escalation to programming rights). This issue is present since version 4.1M2 when the time zone user preference was introduced. The issue has been fixed in XWiki 14.10.5 and 15.1RC1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
XWikixwiki-platform>=4.1-milestone-2 <14.10.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in XWiki, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-40176 severity on Zeptric[![CVE-2023-40176](https://zeptric.io/badge/cve/CVE-2023-40176.svg)](https://zeptric.io/cve/CVE-2023-40176)