XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
CVE-2026-40105Published 15 Apr 2026, 00:07 UTC
Real-world risk
2.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| xwiki-platformCommon | >= 10.4-rc-1, < 16.10.16; >= 17.0.0-rc-1, < 17.4.8; >= 17.5.0-rc-1, < 17.10.1 | 16.10.16, 17.4.8, 17.10.1 |
What to do
Update to a fixed version: 16.10.16, 17.4.8, 17.10.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Nuclei scanner template (link)
EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T4: Weaponized1.000
- 10 × impact 0.3 × prerequisites 0.7 × threat 12.100
- Rounded to one decimal between 0.1 and 102.1
Exploitation and evidence timeline
- 15 Apr 2026 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Risk 2.1 (cvss fallback)
Weakness
CWE-80