6.5medium
XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
- Severity
- 6.5medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-w4fj-87j5-f25c
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
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| 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 | GitHub Advisory Database |
| 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 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:4.0 | 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 | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | 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 | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
A reflected cross-site scripting vulnerability (XSS) in the compare 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.
Patches
The problem has been patched by properly escaping the URL parameters.
Workarounds
The patch can be applied manually to templates/changesdoc.vm in the deployed WAR.
Attribution
XWiki thanks Mike Cole @mikecole-mg for discovering and reporting this vulnerability.
NVD (es)
XWiki Platform es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para aplicaciones construidas sobre ella. Las versiones 10.4-rc-1, hasta la 16.10.15, 17.0.0-rc-1, hasta la 17.4.7 y 17.5.0-rc-1 hasta la 17.10.0 contienen una vulnerabilidad de cross-site scripting (XSS) reflejado en la vista de comparación entre revisiones de una página que permite ejecutar código JavaScript en el navegador del usuario. Si el usuario actual es un administrador, esto no solo puede afectar al usuario actual, sino también la confidencialidad, integridad y disponibilidad de toda la instancia de XWiki. Si los desarrolladores no pueden actualizar inmediatamente, pueden aplicar el parche manualmente a templates/changesdoc.vm en el WAR desplegado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40105 changed 2026-04-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w4fj-87j5-f25c changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2026-40105 changed 2026-10-26 | Public domain |