CVE-2023-35156
Published: 23 June 2023
Summary
CVE-2023-35156 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.7% 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 delete template that permits arbitrary JavaScript injection through a crafted URL parameter. The flaw, present since version 6.0-rc-1, can be triggered via requests such as /bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:..., allowing an attacker-supplied script to execute in the context of the wiki page. It is tracked under CWE-79 and CWE-87 and carries a CVSS 3.1 score of 9.6.
An unauthenticated remote attacker can exploit the issue by supplying a malicious link that a victim user follows, resulting in script execution that can read or modify content, hijack sessions, or perform actions with the privileges of the targeted user. Because the vulnerability affects a core template used across many XWiki instances, successful exploitation can lead to full compromise of confidentiality, integrity, and availability within the affected wiki.
The project’s security advisory GHSA-834c-x29c-f42c and associated commits document that the issue was fully addressed in XWiki 14.10.6 and 15.1 after an incomplete mitigation in 14.10.5; administrators are advised to upgrade to one of the patched releases. The EPSS score rose from a low baseline to a peak of 0.1209, indicating measurable post-disclosure exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1742
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
delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability.
- 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.