# CVE-2023-35162: XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions template

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.38%, higher than 84% of CVEs (2026-12-01)
- Published: 2023-06-20T17:42:16.000Z
- Modified: 2026-09-10T03:50:08.436Z
- Also known as: GHSA-q9hg-9qj2-mxf9
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 6.1-rc-1, < 14.10.5; >= 15.0-rc-1, < 15.1-rc-1
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 6.1-rc-1 before 14.10.5; from 15.0-rc-1 before 15.1-rc-1
- xwiki xwiki: from 6.2 before 14.10.5; 6.1

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d> (patch, technical-description, 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)

## Sources

- CVE List: [CVE-2023-35162](https://www.cve.org/CVERecord?id=CVE-2023-35162), CVE Terms of Use, modified 2024-11-29
- GitHub Advisory Database: [GHSA-q9hg-9qj2-mxf9](https://github.com/advisories/GHSA-q9hg-9qj2-mxf9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-35162](https://nvd.nist.gov/vuln/detail/CVE-2023-35162), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-35162 · Whole record: https://cve.day/CVE-2023-35162.json · Rebuilt by cve.day 2026-11-25T22:58:25.194Z
