CVE-2026-24128: XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages
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.
Published Jan 23, 2026 · Updated Jan 28, 2026
Affected packages
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 7.0-milestone-2, < 16.10.12
- Fixed in
- 16.10.12
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.5
- Fixed in
- 17.4.5
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.8.0-rc-1
- Fixed in
- 17.8.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 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.
Credited to mikecole-mg.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wvqx-m5px-6cmp
- https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf#diff-8f16efedd19baae025db602d8736a105bfd8f72676af2c935b8195a0c356ee71
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.12
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.4.5
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.8.0-rc-1
- https://jira.xwiki.org/browse/XWIKI-23462
- https://nvd.nist.gov/vuln/detail/CVE-2026-24128
- https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf
- https://github.com/advisories/GHSA-wvqx-m5px-6cmp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-40105
XWiki has Reflected Cross-Site Scripting (XSS) in page history compare
medium6.1Apr 14, 2026CVE-2025-66472
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
medium6.5Dec 10, 2025CVE-2025-32430
XWiki allows Reflected XSS in two templates
medium5.3Aug 5, 2025CVE-2024-43401
In XWiki Platform, payloads stored in content is executed when a user with script/programming right edit them
critical9.0Aug 19, 2024CVE-2024-41947
XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution
critical9.0Jul 31, 2024
