CVE-2023-35161
Published: 23 June 2023
Summary
CVE-2023-35161 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 5.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
XWiki Platform, a generic wiki platform, contains a cross-site scripting vulnerability in the AppWithinMinutes/DeleteApplication page that permits JavaScript injection through a crafted URL parameter such as xredirect. The flaw has existed since version 6.2-milestone-1 and allows an attacker to supply arbitrary script content that executes in the context of another user’s session.
An unauthenticated remote attacker can exploit the issue simply by inducing a victim to visit a maliciously constructed link, achieving reflected XSS with a CVSS score of 9.6. Successful exploitation can result in theft of sensitive data, session hijacking, or full compromise of the affected user’s account within the wiki instance.
Public advisories and patches indicate that the vulnerability was fixed in XWiki 14.10.5 and 15.1-rc-1; the corresponding commits and GitHub Security Advisory GHSA-4xm7-5q79-3fch document the code changes that sanitize the redirect parameter and close the injection vector.
EPSS for this CVE rose from lower values to a peak of 0.3788 on 2025-01-22 before receding to the current 0.1556, indicating a period of increased exploitation interest well after initial disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1693
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
DeleteApplication page to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/AppWithinMinutes/DeleteApplication?appName=Menu&resolve=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.2-milestone-1. 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.