XWiki has Reflected Cross-Site Scripting (XSS) in page history compare
Moderate severity
GitHub Reviewed
Published
Apr 14, 2026
in
xwiki/xwiki-platform
•
Updated Apr 27, 2026
Package
Affected versions
>= 10.4-rc-1, < 16.10.16
>= 17.0.0-rc-1, < 17.4.8
>= 17.5.0-rc-1, < 17.10.1
Patched versions
16.10.16
17.4.8
17.10.1
Description
Published to the GitHub Advisory Database
Apr 14, 2026
Reviewed
Apr 14, 2026
Published by the National Vulnerability Database
Apr 15, 2026
Last updated
Apr 27, 2026
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.vmin the deployed WAR.Attribution
XWiki thanks Mike Cole @mikecole-mg for discovering and reporting this vulnerability.
References