CVE-2023-35162
MEDIUM 6.1CVSS 3.1XWiki Platform vulnerable to cross-site scripting via xcontinue parameter in previewactions template
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.
- Published
- 23 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-q9hg-9qj2-mxf9
- Sources
- NVDJSONOSV GHSA-q9hg-9qj2-mxf9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 6.2, < 14.10.5 | 14.10.5 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.1:-:*:*:*:*:*:* |
= 6.1 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.1:milestone1:*:*:*:*:*:* |
= 6.1 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.1:milestone2:*:*:*:*:*:* |
= 6.1 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.1:rc1:*:*:*:*:*:* |
= 6.1 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | >= 6.1-rc-1, < 14.10.5 | 14.10.5 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | >= 15.0-rc-1, < 15.1-rc-1 | 15.1-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d · Patch, Technical Description, Vendor Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9 · Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-20342 · Issue Tracking, Permissions Required, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-20583 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-35162 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Jun 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jun 2023)