Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xwiki | xwiki-platform | >= 10.4-rc-1, < 16.10.16, >= 17.0.0-rc-1, < 17.4.8, >= 17.5.0-rc-1, < 17.10.1 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- XWiki - Cross-Site Scripting http/cves/2026/CVE-2026-40105.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 10.4-rc-1, < 16.10.16 | 16.10.16 | GHSA-w4fj-87j5-f25c |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 17.0.0-rc-1, < 17.4.8 | 17.4.8 | GHSA-w4fj-87j5-f25c |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | >= 17.5.0-rc-1, < 17.10.1 | 17.10.1 | GHSA-w4fj-87j5-f25c |
Advisories 1
- WID-SEC-2026-1089 xwiki: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 14, 2026