CVE-2026-40105 in Xwiki
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 a...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | ≥ 10.4, < 16.10.16 ≥ 17.0.0, < 17.4.8 ≥ 17.5.0, < 17.10.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40105 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152176-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2026-04-15 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
XWiki Platform 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 are vulnerable to a reflected cross-site scripting (XSS) vulnerability in the comparison view between revisions of a page, allowing JavaScript execution in the user's browser.
An attacker can craft a malicious URL that, when visited by a user, executes arbitrary JavaScript code in the user's browser context. This can lead to session hijacking, defacement of the wiki, or other malicious activities.
Questions
What is CVE-2026-40105?
XWiki Platform 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 are vulnerable to a reflected cross-site scripting (XSS) vulnerability in the comparison view between revisions of a page, allowing JavaScript execution in the user's browser.
What is the CVSS score for CVE-2026-40105?
CVE-2026-40105 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.8%.
Is CVE-2026-40105 actively exploited?
No confirmed active exploitation of CVE-2026-40105 as of 2026-11-03.
How do I remediate CVE-2026-40105?
Priority: HIGH. Advisory: https://jira.xwiki.org/browse/XWIKI-23472 PSIRT: [email protected]
What systems are affected by CVE-2026-40105?
CVE-2026-40105 affects Xwiki Xwiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.