CVE-2023-35162 json
XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions template
published 2023-06-20 3 y ago modified 2026-09-10 1 mo ago also GHSA-q9hg-9qj2-mxf9 , EUVD-2023-1865
- cvss
- 9.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-flamingo-skin-resources 14.10.5, 15.1-rc-1
- xwiki xwiki 14.10.5
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
2.38% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template XWiki < 14.10.5 - Cross-Site Scripting nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | >=6.1-rc-1, <14.10.5 >=15.0-rc-1, <15.1-rc-1 |
14.10.5 15.1-rc-1 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d
web, patch, technical-description, vendor-advisory
-
jira.xwiki.org
/browse/XWIKI-20583
web, issue-tracking, patch, vendor-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9
web, vendor-advisory
-
jira.xwiki.org
/browse/XWIKI-20342
web, issue-tracking, permissions-required, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-35162
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2023-35162
- GitHub Advisory GHSA-q9hg-9qj2-mxf9
- NVD CVE-2023-35162
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.