GHSA-wvqx-m5px-6cmp
XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages
Quick fix
GHSA-wvqx-m5px-6cmp — org.xwiki.platform:xwiki-platform-web-templates: upgrade to the fixed version with the command below.
# pom.xml: bump <version>16.10.12</version> for org.xwiki.platform:xwiki-platform-web-templatesDetails
### Impact A reflected cross site scripting (XSS) vulnerability in XWiki allows an attacker to execute arbitrary actions in XWiki with the rights of the victim if the attacker manages to trick a victim into visiting a crafted URL. If the victim has administrative or programming rights, those rights can be exploited to gain full access to the XWiki installation.
### Patches This vulnerability has been patched in XWiki 17.8.0RC1, 17.4.5 and 16.10.12.
### Workarounds The [patch](https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf#diff-8f16efedd19baae025db602d8736a105bfd8f72676af2c935b8195a0c356ee71) can be applied manually, only a single line in `templates/logging_macros.vm` needs to be changed, no restart is required.
### References * https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf * https://jira.xwiki.org/browse/XWIKI-23462
### Attribution
We thank Mike Cole @mikecole-mg for discovering and reporting this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
7.0-milestone-2Fixed in: 16.10.12# pom.xml: bump <version>16.10.12</version> for org.xwiki.platform:xwiki-platform-web-templates17.0.0-rc-1Fixed in: 17.4.5# pom.xml: bump <version>17.4.5</version> for org.xwiki.platform:xwiki-platform-web-templates17.5.0-rc-1Fixed in: 17.8.0-rc-1# pom.xml: bump <version>17.8.0-rc-1</version> for org.xwiki.platform:xwiki-platform-web-templatesReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wvqx-m5px-6cmp[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-24128[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf[WEB]
- https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf#diff-8f16efedd19baae025db602d8736a105bfd8f72676af2c935b8195a0c356ee71[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.12[WEB]
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.4.5[WEB]
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.8.0-rc-1[WEB]
- https://jira.xwiki.org/browse/XWIKI-23462[WEB]