patchminder
No public exploit found CVE-2023-40176

Cross-site scriptingin XWiki Platform.

Published 23 Aug 2023 · Updated 2 Oct 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 80.0% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 14.10.5 or later
In plain words

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.

What to do now
  • Upgrade xwiki-platform to 14.10.5 or later.
  • Upgrade org.xwiki.platform:xwiki-platform-web-templates (Maven) to 14.10.5 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
xwiki-platform
4.1-milestone-2 to before 14.10.5
14.10.5
CVE record
org.xwiki.platform:xwiki-platform-web-templates (Maven)
4.1-milestone-2 to before 14.10.5
14.10.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 9 Aug 2023
    CVE ID reserved by GitHub_M.
  2. 23 Aug 2023
    Published in the CVE List.
  3. 2 Oct 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other Platform vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-40176: Cross-site scripting in XWiki Platform. https://patchminder.com/cve/cve-2023-40176/ (accessed 5 December 2026).