{"id":"CVE-2021-32732","published":"2022-02-04T22:15:13Z","modified":"2025-04-22T18:27:32Z","title":"Cross-Site Request Forgery in xwiki-platform","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"### 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)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00964,"percentile":0.62517,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18384","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18408","tags":["x_refsource_MISC"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.5},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 12.10.5",">= 13.0, < 13.2RC1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:42:14.200901Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","vulnerableRanges":["<12.10.5",">=13.0, <13.2RC1"],"patched":["12.10.5","13.2RC1"],"from":["GHSA-vh5c-jqfg-mhrh"],"provenance":"source"}],"summary":{"text":"Cross-Site Request Forgery in the Forgot username page of xwiki-platform, which lets a request forged against that page be processed without a CSRF check. An unauthenticated remote attacker can exploit it by getting a user to trigger a crafted request (user interaction is required), allowing them to determine whether an email address has an account on the wiki and which username(s) are tied to it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:37Z"},"euvd":{"id":"EUVD-2022-1205","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-23616","published":"2022-02-09","fixed":"13.1RC1","kev":false,"link":{"from":"CVE-2022-23616","to":"CVE-2021-32732","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"13.1RC1","toFixed":"13.2RC1","daysApart":-5}]}},{"cve":"CVE-2021-32732","published":"2022-02-04","fixed":"13.2RC1","kev":false},{"cve":"CVE-2021-32730","published":"2021-07-01","fixed":"13.2","kev":false},{"cve":"CVE-2023-29511","published":"2023-04-16","fixed":"14.10.1","kev":false},{"cve":"CVE-2023-29514","published":"2023-04-18","fixed":"14.10.1","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui"}}