Cross-Site Request Forgery in xwiki-platform
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
### Impact It's possible to know if a user has or not an account in a wiki related to an email address, and which username(s) is actually tied to that email by forging a request to the Forgot username page. Note that since this page does not have a CSRF check it's quite easy to perform a lot of those requests. ### Patches This issue has been patched in XWiki 12.10.5 and 13.2RC1. Two different patches are provided: - a first one to fix the CSRF problem - a more complex one that now relies on sending an email for the Forgot username process. ### Workarounds It's possible to fix the problem without uprading by editing the ForgotUsername page in version below 13.x, to use the following code: https://github.com/xwiki/xwiki-platform/blob/69548c0320cbd772540cf4668743e69f879812cf/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ForgotUsername.xml#L39-L123 In version after 13.x it's also possible to edit manually the forgotusername.vm file, but it's really encouraged to upgrade the version here. ### References * https://jira.xwiki.org/browse/XWIKI-18384 * https://jira.xwiki.org/browse/XWIKI-18408 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki](https://jira.xwiki.org) * Email us at [security ML](mailto:[email protected])
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | before 12.10.5; 13.0 to before 13.2RC1 | 12.10.5, 13.2RC1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-administration-ui (Maven) | before 12.10.5 | 12.10.5 | Patch available | GHSA-vh5c-jqfg-mhrh |
| — | org.xwiki.platform:xwiki-platform-administration-ui (Maven) | 13.0 to before 13.2RC1 | 13.2RC1 | Patch available | GHSA-vh5c-jqfg-mhrh |
- xwiki-platform VendorXWiki Affected before 12.10.5; 13.0 to before 13.2RC1 Fixed in 12.10.5, 13.2RC1 Patch available CNA
- org.xwiki.platform:xwiki-platform-administration-ui (Maven) Vendor— Affected before 12.10.5 Fixed in 12.10.5 Patch available GHSA-vh5c-jqfg-mhrh
- org.xwiki.platform:xwiki-platform-administration-ui (Maven) Vendor— Affected 13.0 to before 13.2RC1 Fixed in 13.2RC1 Patch available GHSA-vh5c-jqfg-mhrh
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 12.10.5, 13.2RC1
- Fix · GHSA-vh5c-jqfg-mhrh org.xwiki.platform:xwiki-platform-administration-ui (Maven) Fixed in 12.10.5 Advisory →
- Fix · GHSA-vh5c-jqfg-mhrh org.xwiki.platform:xwiki-platform-administration-ui (Maven) Fixed in 13.2RC1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32732
- 2026-10-03 Alias added: GHSA-vh5c-jqfg-mhrh
References
Patch 2
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2021-32732 · CVE Program
- CVE-2021-32732 · NVD
- FIRST EPSS
- GHSA-vh5c-jqfg-mhrh · GitHub Advisory Database · CC BY 4.0
- CVE-2021-32732 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences