{"cve":"CVE-2026-40105","nvd":{"published":"2026-04-15T04:17:48.137","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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.","cvss_v4":{"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","score":6.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-80"],"references":["https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c","https://jira.xwiki.org/browse/XWIKI-23472"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40105","score":0.00549,"percentile":0.45688,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-w4fj-87j5-f25c","url":"https://osv.dev/vulnerability/GHSA-w4fj-87j5-f25c","summary":"XWiki has Reflected Cross-Site Scripting (XSS) in page history compare","modified":"2026-05-05T16:11:29.090127Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","ranges":[">=10.4-rc-1 <16.10.16"],"fixed":["16.10.16"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","ranges":[">=17.0.0-rc-1 <17.4.8"],"fixed":["17.4.8"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","ranges":[">=17.5.0-rc-1 <17.10.1"],"fixed":["17.10.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}