{"cve":"CVE-2021-32732","nvd":{"published":"2022-02-04T23:15:11.547","modified":"2026-06-17T03:53:31.203","status":"Modified","description":"### 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:security@xwiki.org)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-352"],"references":["https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf","https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh","https://jira.xwiki.org/browse/XWIKI-18384","https://jira.xwiki.org/browse/XWIKI-18408"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2021-32732","score":0.00964,"percentile":0.61691,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vh5c-jqfg-mhrh","url":"https://osv.dev/vulnerability/GHSA-vh5c-jqfg-mhrh","summary":"Cross-Site Request Forgery in xwiki-platform","modified":"2026-07-08T06:27:41.103759126Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","ranges":["<12.10.5"],"fixed":["12.10.5"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","ranges":[">=13.0 <13.2RC1"],"fixed":["13.2RC1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}