CVE-2023-35160
Published: 23 June 2023
Summary
CVE-2023-35160 is a critical-severity Improper Neutralization of Alternate XSS Syntax (CWE-87) vulnerability in Xwiki Xwiki. Its CVSS base score is 9.6 (Critical).
Operationally, ranked in the top 6.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
XWiki Platform contains a reflected cross-site scripting vulnerability in its resubmit template that permits an attacker to inject arbitrary Javascript into a rendered page by supplying a crafted URL containing xpage=resubmit along with resubmit and xback parameters. The flaw has existed since version 2.5-milestone-2 and affects any deployment that has not been updated past the affected releases.
An unauthenticated remote attacker can exploit the issue simply by inducing a victim to click a malicious link, resulting in Javascript execution in the victim's browser context with the ability to read or modify page content and perform actions on behalf of the user. The CVSS 9.6 score reflects the combination of network attack vector, lack of required privileges, and full impact across confidentiality, integrity, and availability when the attack succeeds.
Advisories and patches published by the project state that the vulnerability is resolved in XWiki 14.10.5 and 15.1-rc-1; the corresponding commits and Jira issues XWIKI-20343 and XWIKI-20583 document the code change that removes the unsafe resubmit handling.
The EPSS probability rose from a low baseline to a peak of 0.3788 on 2025-01-22 before receding to the current value of 0.1207, indicating that exploitation interest increased measurably after public disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1876
Vulnerability details
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the…
more
resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.