XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-80.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 10.4-rc-1 to before 16.10.16; 17.0.0-rc-1 to before 17.4.8; 17.5.0-rc-1 to before 17.10.1 | 16.10.16, 17.4.8, 17.10.1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 10.4-rc-1 to before 16.10.16 | 16.10.16 | Patch available | GHSA-w4fj-87j5-f25c |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 17.0.0-rc-1 to before 17.4.8 | 17.4.8 | Patch available | GHSA-w4fj-87j5-f25c |
| — | org.xwiki.platform:xwiki-platform-web-templates (Maven) | 17.5.0-rc-1 to before 17.10.1 | 17.10.1 | Patch available | GHSA-w4fj-87j5-f25c |
- xwiki-platform VendorXWiki Affected 10.4-rc-1 to before 16.10.16; 17.0.0-rc-1 to before 17.4.8; 17.5.0-rc-1 to before 17.10.1 Fixed in 16.10.16, 17.4.8, 17.10.1 Patch available CNA
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 10.4-rc-1 to before 16.10.16 Fixed in 16.10.16 Patch available GHSA-w4fj-87j5-f25c
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.4.8 Fixed in 17.4.8 Patch available GHSA-w4fj-87j5-f25c
- org.xwiki.platform:xwiki-platform-web-templates (Maven) Vendor— Affected 17.5.0-rc-1 to before 17.10.1 Fixed in 17.10.1 Patch available GHSA-w4fj-87j5-f25c
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 10.4 to before 16.10.16; 17.0.0 to before 17.4.8; 17.5.0 to before 17.10.1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 10.4 to before 16.10.16; 17.0.0 to before 17.4.8; 17.5.0 to before 17.10.1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 16.10.16, 17.4.8, 17.10.1
- Fix · GHSA-w4fj-87j5-f25c org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 16.10.16 Advisory →
- Fix · GHSA-w4fj-87j5-f25c org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 17.4.8 Advisory →
- Fix · GHSA-w4fj-87j5-f25c org.xwiki.platform:xwiki-platform-web-templates (Maven) Fixed in 17.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40105
- 2026-10-03 Alias added: GHSA-w4fj-87j5-f25c
- 2026-10-25 EPSS moved to the below the 50th percentile
References
Advisory 3
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-40105 · CVE Program
- CVE-2026-40105 · NVD
- FIRST EPSS
- GHSA-w4fj-87j5-f25c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences