{"id":"CVE-2021-32730","aliases":["CVE-2021-32730","GHSA-v9j2-q4q5-cxh4"],"related":[],"kind":"vulnerability","state":"published","title":"No CSRF protection on the password change form","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nIt's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki.\n\n### Patches\nThe problem has been patched in XWiki 12.10.5, 13.2RC1.\n\n### Workarounds\nIt's possible to apply the patch manually by modifying the `register_macros.vm` template like in https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-18315\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki](https://jira.xwiki.org)\n* Email us at [security ML](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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\"","source":"nvd"}],"published":"2021-07-01T17:30:13.000Z","modified":"2026-07-08T06:29:36.691Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"< 12.10.5","status":"affected"},{"version":">= 13.0, <= 13.1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.10.5"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"13.0","status":"affected","fixed":"13.2"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"12.10.5"},{"status":"affected","version":"13.0"},{"status":"affected","version":"13.1"},{"status":"affected","version":"13.1"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v9j2-q4q5-cxh4","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18315","tags":["exploit","issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32730","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32730","url":"https://www.cve.org/CVERecord?id=CVE-2021-32730","licence":"CVE Terms of Use","modified":"2024-08-03T23:33:55.828Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v9j2-q4q5-cxh4","url":"https://github.com/advisories/GHSA-v9j2-q4q5-cxh4","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:36.691Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32730","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32730","licence":"Public domain","modified":"2026-06-17T03:53:30.983Z"}],"updatedAt":"2026-11-25T22:58:02.415Z","epss":{"score":0.0061,"percentile":0.50569,"date":"2026-12-01T12:00:22.000Z"}}