CVE-2021-32731 The reset password form reveal users email address
An attacker can obtain user email addresses by submitting usernames to the password reset form, exposing sensitive personal information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32731?
CVE-2021-32731 is a medium-severity vulnerability in Xwiki Xwiki, published on 1 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Between (and including) versions 13.1RC1 and 13.1, the reset password form reveals the email address of users just by giving their username. The problem has been patched on XWiki 13.2RC1. As a workaround, it is possible to manually modify the `resetpasswordinline.vm` to perform the changes made to mitigate the vulnerability.
Weakness: CWE-200
Which versions are affected by CVE-2021-32731?
2 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-web Maven | From 13.1 | 13.2 |
org.xwiki.platform:xwiki-platform-web Maven | From 13.1 | 13.2 |
Products include Xwiki Xwiki.
How do I fix CVE-2021-32731?
Upgrade org.xwiki.platform:xwiki-platform-web to 13.2 or later.
Is CVE-2021-32731 being exploited?
There is no known exploitation of CVE-2021-32731 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-h4m4-pgp4-whgm.