CVE-2021-32730 No CSRF protection on the password change form
An attacker can trick an admin into resetting any user's password via a forged URL, leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-32730?
CVE-2021-32730 is a medium-severity vulnerability in Xwiki Xwiki, published on 1 Jul 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-352
Which versions are affected by CVE-2021-32730?
4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-administration-ui. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-administration-ui Maven | All versions | 12.10.5 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | All versions | 12.10.5 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 13.0 | 13.2 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 13.0 | 13.2 |
Products include Xwiki Xwiki.
How do I fix CVE-2021-32730?
Upgrade org.xwiki.platform:xwiki-platform-administration-ui to a fixed version for your release line: 12.10.5 or 13.2.
Is CVE-2021-32730 being exploited?
There is no known exploitation of CVE-2021-32730 in the wild and no public exploit code.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-v9j2-q4q5-cxh4.