CVE-2026-40105
MediumXWiki has Reflected Cross-Site Scripting (XSS) in page history compare
Published Apr 14, 2026 · Updated Aug 12, 2026 · Also known as GHSA-w4fj-87j5-f25c
Key Facts
Routine patching- CVE-2026-40105 is a medium-severity vulnerability (CVSS 6.5 v4) affecting Xwiki, org.xwiki.platform:xwiki-platform-web-templates (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 0.8% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-web-templates 16.10.16, org.xwiki.platform:xwiki-platform-web-templates 17.10.1, org.xwiki.platform:xwiki-platform-web-templates 17.4.8.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
CVSS v4
6.5
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
0.8%
Higher than 55.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2026-40105 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | See advisory | 16.10.16 |
| org.xwiki.platform:xwiki-platform-web-templatesmaven | >= 10.4-rc-1 | 17.10.1 |
| xwiki-platform | >= >= 10.4-rc-1, < 16.10.16 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-web-templates
16.10.16, 17.10.1, 17.4.8
Xwiki
16.10.16
Timeline
Publicly disclosed
Apr 14, 2026
Last updated
Aug 12, 2026
Weakness Type
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40105.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-40105
- otherhttps://github.com/xwiki/xwiki-platform
- otherhttps://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c
FAQ
Common Questions.
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it.
Affected: Xwiki; org.xwiki.platform:xwiki-platform-web-templates (maven) versions >= 10.4-rc-1; xwiki-platform versions >= >= 10.4-rc-1, < 16.10.16. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-web-templates 16.10.16, org.xwiki.platform:xwiki-platform-web-templates 17.10.1, org.xwiki.platform:xwiki-platform-web-templates 17.4.8.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2026-40105 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo