5.7medium
No CSRF protection on the password change form
- Severity
- 5.7medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-v9j2-q4q5-cxh4
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A cross-site request forgery vulnerability exists in versions prior to 12.10.5, and in versions 13.0 through 13.1. It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki. The problem has been patched in XWiki 12.10.5 and 13.2RC1. As a workaround, it is possible to apply the patch manually by modifying the `register_macros.vm` template.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | < 12.10.5, >= 13.0, <= 13.1 | CVE List |
| org.xwiki.platform:xwiki-platform-administration-ui (Maven) | before 12.10.5, from 13.0 before 13.2 | GitHub Advisory Database |
| xwiki xwiki | before 12.10.5, 13.0, 13.1 | NVD |
All scores
| GitHub_M | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVD | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/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. A cross-site request forgery vulnerability exists in versions prior to 12.10.5, and in versions 13.0 through 13.1. It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki. The problem has been patched in XWiki 12.10.5 and 13.2RC1. As a workaround, it is possible to apply the patch manually by modifying the `register_macros.vm` template.
GitHub Advisory Database
Impact
It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki.
Patches
The problem has been patched in XWiki 12.10.5, 13.2RC1.
Workarounds
It's possible to apply the patch manually by modifying the register_macros.vm template like in https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257.
References
https://jira.xwiki.org/browse/XWIKI-18315
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at security ML
NVD (es)
Una plataforma XWiki es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para las aplicaciones construidas sobre ella. Se presenta una vulnerabilidad de tipo cross-site request forgery en versiones anteriores a 12.10.5, y en versiones 13.0 hasta 13.1. Es posible falsificar una URL que, al ser accedida por un administrador, restablecerá la contraseña de cualquier usuario en XWiki. El problema ha sido parcheado en XWiki versiones 12.10.5 y 13.2RC1. Como solución, es posible aplicar el parche manualmente modificando la plantilla "register_macros.vm"
References
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v9j2-q4q5-cxh4 | patch, third-party-advisory, web | |
| https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257 | patch, third-party-advisory, web | |
| https://jira.xwiki.org/browse/XWIKI-18315 | exploit, issue-tracking, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32730 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32730 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v9j2-q4q5-cxh4 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-32730 changed 2026-06-17 | Public domain |