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 package | Versions | Reported 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-1 | CVE 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-1 | GitHub Advisory Database |
| xwiki xwiki | from 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.0 | NVD |
| xwiki xwiki-rendering | 17.5.0 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
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
- 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.
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-24128 changed 2026-01-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wvqx-m5px-6cmp changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2026-24128 changed 2026-06-17 | Public domain |