SXSS in the user profile via the timezone displayer
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 4.1-milestone-2 to before 14.10.5 | 14.10.5 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 4.1-milestone-2 to before 14.10.5 | 14.10.5 | Patch available | GHSA-h8cm-3v5f-rgp6 |
- xwiki-platform VendorXWiki Affected 4.1-milestone-2 to before 14.10.5 Fixed in 14.10.5 Patch available CNA
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 4.1-milestone-2 to before 14.10.5 Fixed in 14.10.5 Patch available GHSA-h8cm-3v5f-rgp6
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 4.1.1 to before 14.10.5 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:4.1:milestone2:*:*:*:*:*:* | 4.1 milestone2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* | 15.0 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* | 15.0 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 4.1.1 to before 14.10.5 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:4.1:milestone2:*:*:*:*:*:* Versions 4.1 milestone2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* Versions 15.0 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* Versions 15.0 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.5
- Fix · GHSA-h8cm-3v5f-rgp6 org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 14.10.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40176
- 2026-10-03 Alias added: GHSA-h8cm-3v5f-rgp6
References
Patch 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-40176 · CVE Program
- CVE-2023-40176 · NVD
- FIRST EPSS
- GHSA-h8cm-3v5f-rgp6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences