# CVE-2021-32730: No CSRF protection on the password change form

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-01T17:30:13.000Z
- Modified: 2026-07-08T06:29:36.691Z
- Also known as: GHSA-v9j2-q4q5-cxh4
- Weaknesses: CWE-352
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: < 12.10.5; >= 13.0, <= 13.1
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): before 12.10.5; from 13.0 before 13.2
- xwiki xwiki: before 12.10.5; 13.0; 13.1

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://jira.xwiki.org/browse/XWIKI-18315> (exploit, issue-tracking, vendor-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2021-32730> (advisory)

## Sources

- CVE List: [CVE-2021-32730](https://www.cve.org/CVERecord?id=CVE-2021-32730), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-v9j2-q4q5-cxh4](https://github.com/advisories/GHSA-v9j2-q4q5-cxh4), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32730](https://nvd.nist.gov/vuln/detail/CVE-2021-32730), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32730 · Whole record: https://cve.day/CVE-2021-32730.json · Rebuilt by cve.day 2026-11-25T22:58:02.415Z
