Vulnerability · Published Apr 15, 2026 · Assigned by GitHub_M
CVE-2026-40105XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
Medium 6.5
In plain English
A medium-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 16.10.16 | GHSA-w4fj-87j5-f25c |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 17.4.8 | GHSA-w4fj-87j5-f25c |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 17.10.1 | GHSA-w4fj-87j5-f25c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Weakness: CWE-80 · Vector: 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
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-23472 x_refsource_MISC