CVE-2026-24128
JSON

6.5medium

XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages

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-wvqx-m5px-6cmp

Description

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/logging_macros.vm needs to be changed, no restart is required.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 7.0-milestone-2, < 16.10.12, >= 17.0.0-rc-1, < 17.4.5, >= 17.5.0-rc-1, < 17.8.0-rc-1CVE List
org.xwiki.platform:xwiki-platform-web-templates (Maven)from 7.0-milestone-2 before 16.10.12, from 17.0.0-rc-1 before 17.4.5, from 17.5.0-rc-1 before 17.8.0-rc-1GitHub Advisory Database
xwiki xwikifrom 7.0.1 before 16.10.12, from 17.0.1 before 17.4.5, from 17.6.0 before 17.8.0, 7.0, 17.0.0NVD
xwiki xwiki-rendering17.5.0NVD

All scores

GitHub_M6.5medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-80

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 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/logging_macros.vm needs to be changed, no restart is required.

GitHub Advisory Database
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
Attribution

We thank 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 7.0-milestone-2 hasta 16.10.11, 17.0.0-rc-1 hasta 17.4.4, y 17.5.0-rc-1 hasta 17.7.0 contienen una vulnerabilidad de cross-site scripting (XSS) reflejado, que permite a un atacante crear una URL maliciosa y ejecutar acciones arbitrarias con los mismos privilegios que la víctima. Si la víctima tiene derechos administrativos o de programación, esos derechos pueden ser explotados para obtener acceso completo a la instalación de XWiki. Este problema ha sido parcheado en las versiones 17.8.0-rc-1, 17.4.5 y 16.10.12. Como solución alternativa, el parche puede aplicarse manualmente, solo una línea en templates/logging_macros.vm necesita ser cambiada, no se requiere reiniciar.

References

https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wvqx-m5px-6cmppatch, vendor-advisory, web
https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbfpatch, web
https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.12product, release-notes, web
https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.4.5product, release-notes, web
https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.8.0-rc-1product, release-notes, web
https://jira.xwiki.org/browse/XWIKI-23462vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-24128advisory
https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf#diff-8f16efedd19baae025db602d8736a105bfd8f72676af2c935b8195a0c356ee71web
https://github.com/xwiki/xwiki-platformpackage

Sources

SourceRecordLicence
CVE ListCVE-2026-24128 changed 2026-01-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-wvqx-m5px-6cmp changed 2026-02-03CC-BY-4.0
NVDCVE-2026-24128 changed 2026-06-17Public domain