Cross-site scriptingin XWiki Platform.
No public exploit found; not on exploited lists.
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.
- Upgrade xwiki-platform to 14.10.5 or later.
- Upgrade org.xwiki.platform:xwiki-platform-web-templates (Maven) to 14.10.5 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Aug 2023CVE ID reserved by GitHub_M.
- 23 Aug 2023Published in the CVE List.
- 2 Oct 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Platform vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- jira.xwiki.org x_refsource_MISC
Patchminder. CVE-2023-40176: Cross-site scripting in XWiki Platform. https://patchminder.com/cve/cve-2023-40176/ (accessed 5 December 2026).