CVE-2026-40105 XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 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 | Fixed |
| xwiki | >= 10.4, < 16.10.16; >= 17.0.0, < 17.4.8; >= 17.5.0, < 17.10.1 | 16.10.16, 17.4.8, 17.10.1 | Fixed |
| 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 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 10.4-rc-1, < 16.10.16 | 16.10.16 |
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 17.0.0-rc-1, < 17.4.8 | 17.4.8 |
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 17.5.0-rc-1, < 17.10.1 | 17.10.1 |
| xwiki-platform | = >= 10.4-rc-1, < 16.10.16 | No fix listed |
| xwiki-platform | = >= 17.0.0-rc-1, < 17.4.8 | No fix listed |
| xwiki-platform | = >= 17.5.0-rc-1, < 17.10.1 | No fix listed |
| xwiki | >= 10.4, < 16.10.16 | 16.10.16 |
| xwiki | >= 17.0.0, < 17.4.8 | 17.4.8 |
| xwiki | >= 17.5.0, < 17.10.1 | 17.10.1 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c patch
- github.com product
- https://jira.xwiki.org/browse/XWIKI-23472 vendor-advisory
- github.com