CVE-2026-40105
MEDIUM 6.5CVSS 4.0XWiki has Reflected Cross-Site Scripting (XSS) in page history compare
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 10.4-rc-1, through 16.10.15, 17.0.0-rc-1, through 17.4.7 and 17.5.0-rc-1 through 17.10.0 contain a reflected cross-site scripting vulnerability (XSS) in the comparison view between revisions of a page allows executing JavaScript code in the user's browser. If the current user is an admin, this can not only affect the current user but also the confidentiality, integrity and availability of the whole XWiki instance. If developers are unable to update immediately, they can apply the patch manually to templates/changesdoc.vm in the deployed WAR.
- Published
- 15 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-80
- Also known as
- GHSA-w4fj-87j5-f25c
- Sources
- NVDJSONOSV GHSA-w4fj-87j5-f25cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA: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 |
| OSV | GitHub | 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:*:*:*:*:*:*:*:* |
>= 10.4, < 16.10.16 | 16.10.16 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 17.0.0, < 17.4.8 | 17.4.8 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 17.5.0, < 17.10.1 | 17.10.1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 10.4-rc-1, < 16.10.16 | 16.10.16 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 17.0.0-rc-1, < 17.4.8 | 17.4.8 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 17.5.0-rc-1, < 17.10.1 | 17.10.1 |
References
- https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c · Patch, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c · Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-23472 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40105 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Apr 2026)