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.
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/loggingmacros.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.
Other sources
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 7.0-milestone-2 through 16.10.11, 17.0.0-rc-1 through 17.4.4, and 17.5.0-rc-1 through 17.7.0 contain a reflected Cross-site Scripting (XSS) vulnerability, which allows an attacker to craft a malicious URL and execute arbitrary actions with the same privileges as the victim. If the victim has administrative or programming rights, those rights can be exploited to gain full access to the XWiki installation. This issue has been patched in versions 17.8.0-rc-1, 17.4.5 and 16.10.12. To workaround, the patch can be applied manually, only a single line in templates/loggingmacros.vm needs to be changed, no restart is required.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24128?
CVE-2026-24128 has a critical severity rating due to its potential exploitation allowing attackers to execute arbitrary actions.
How do I fix CVE-2026-24128?
To fix CVE-2026-24128, you should upgrade to XWiki versions 17.8.0-rc-1, 17.4.5, or 16.10.12.
What type of vulnerability is CVE-2026-24128?
CVE-2026-24128 is a reflected Cross-Site Scripting (XSS) vulnerability.
Who is impacted by CVE-2026-24128?
Any users of XWiki versions prior to the mentioned remedy versions are at risk of CVE-2026-24128.
What actions can an attacker perform due to CVE-2026-24128?
An attacker can execute arbitrary actions in XWiki using the victim's rights if they exploit CVE-2026-24128.