XSS in Xwiki
CVE-2023-35162
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 previewactions template to perform a XSS, e.g. by using URL such as: > <hostname>/xwiki/bin/get/FlamingoThemes/Cerulean xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain). This vulnerability exists since XWiki 6.1-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.
Vulnerability class: XSS (Cross-Site Scripting)
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.024, 84.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xwiki — versions 6.1
- Xwiki Xwiki-Platform — versions >= 6.1-rc-1, < 14.10.5, >= 15.0-rc-1, < 15.1-rc-1
Weakness classification (CWE)
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9 (Vendor Advisory)
- https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d (Technical Description, Patch, Vendor Advisory)
- https://jira.xwiki.org/browse/XWIKI-20342 (Permissions Required, Issue Tracking, Vendor Advisory)
- https://jira.xwiki.org/browse/XWIKI-20583 (Patch, Issue Tracking, Vendor Advisory)