# CVE-2026-40105: XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality

- Severity: Medium 6.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-04-14T22:33:56.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-w4fj-87j5-f25c
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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
- org.xwiki.platform:xwiki-platform-web-templates (Maven): from 10.4-rc-1 before 16.10.16; from 17.0.0-rc-1 before 17.4.8; from 17.5.0-rc-1 before 17.10.1
- xwiki xwiki: from 10.4 before 16.10.16; from 17.0.0 before 17.4.8; from 17.5.0 before 17.10.1

## Every score

- GitHub_M: CVSS:4.0 6.5 Medium `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`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/3c8a2ec985641367015c2db937574fcd360c788c> (patch, web)
- <https://jira.xwiki.org/browse/XWIKI-23472> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40105> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2026-40105](https://www.cve.org/CVERecord?id=CVE-2026-40105), CVE Terms of Use, modified 2026-04-15
- GitHub Advisory Database: [GHSA-w4fj-87j5-f25c](https://github.com/advisories/GHSA-w4fj-87j5-f25c), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40105](https://nvd.nist.gov/vuln/detail/CVE-2026-40105), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40105 · Whole record: https://cve.day/CVE-2026-40105.json · Rebuilt by cve.day 2026-11-25T22:59:18.816Z
