CVE-2023-35160
MEDIUM 6.1CVSS 3.1XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit 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 resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. 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-79CWE-87
- Also known as
- GHSA-r8xc-xxh3-q5x3
- Sources
- NVDJSONOSV GHSA-r8xc-xxh3-q5x3JSON
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:*:*:*:*:*:*:*:* |
>= 3.0, < 14.10.5 | 14.10.5 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:2.5:milestone2:*:*:*:*:*:* |
= 2.5 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:* |
= 15.0 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 2.5-milestone-2, < 14.10.5 | 14.10.5 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 15.0-rc-1, < 15.1-rc-1 | 15.1-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f · Patch, Vendor Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3 · Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-20343 · 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-35160 · 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 22 Jun 2023)