XSS in Xwiki
CVE-2023-35156
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Xwiki — versions 6.0, 15.0
- Xwiki Xwiki-Platform — versions >= 6.0-rc-1, < 14.10.6, >= 15.0-rc-0, < 15.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c (Vendor Advisory)
- github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1 (Patch, Vendor Advisory)
- github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5 (Patch, Vendor Advisory)
- github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a (Patch, Vendor Advisory)
- jira.xwiki.org/browse/XWIKI-20341 (Issue Tracking, Vendor Advisory)
- jira.xwiki.org/browse/XWIKI-20583 (Issue Tracking, Vendor Advisory)
- jira.xwiki.org/browse/XWIKI-20672 (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-35156?
- CVE-2023-35156 is a critical-severity vulnerability in Xwiki, classified under Improper Neutralization of Alternate XSS Syntax. CVSS score: 9.6/10. Published 2023-06-23.
- How severe is CVE-2023-35156?
- Critical severity. CVSS v3 base score is 9.6 out of 10.
- Is CVE-2023-35156 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.