{"api_version":"1","generated_at":"2026-07-23T20:58:58+00:00","cve":"CVE-2021-32732","urls":{"html":"https://cve.report/CVE-2021-32732","api":"https://cve.report/api/cve/CVE-2021-32732.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32732","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32732"},"summary":{"title":"CVE-2021-32732","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)","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-02-04 23:15:00","updated_at":"2022-02-10 18:39:00"},"problem_types":["CWE-352"],"metrics":[],"references":[{"url":"https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf","name":"https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf","refsource":"MISC","tags":[],"title":"XWIKI-18408: Wrong check in forgot username · xwiki/xwiki-platform@69548c0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://jira.xwiki.org/browse/XWIKI-18408","name":"https://jira.xwiki.org/browse/XWIKI-18408","refsource":"MISC","tags":[],"title":"[XWIKI-18408] ForgotUsername is not protected against CSRF - XWiki.org JIRA","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://jira.xwiki.org/browse/XWIKI-18384","name":"https://jira.xwiki.org/browse/XWIKI-18384","refsource":"MISC","tags":[],"title":"[XWIKI-18384] The \"Forgot your username?\" form offers too much information concerning user accounts - XWiki.org JIRA","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh","refsource":"CONFIRM","tags":[],"title":"The Forgot Username form might provide information about user accounts · Advisory · xwiki/xwiki-platform · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8","name":"https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8","refsource":"MISC","tags":[],"title":"XWIKI-18384: Improve ForgotUsername process · xwiki/xwiki-platform@f0440df · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"500"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32732","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32732","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32732","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32732","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"13.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32732","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"13.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32732","STATE":"PUBLIC","TITLE":"Cross-Site Request Forgery in xwiki-platform"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"xwiki-platform","version":{"version_data":[{"version_value":"< 12.10.5 "},{"version_value":">= 13.0, < 13.2RC1"}]}}]},"vendor_name":"xwiki"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"### 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)"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-352: Cross-Site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh","refsource":"CONFIRM","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vh5c-jqfg-mhrh"},{"name":"https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf","refsource":"MISC","url":"https://github.com/xwiki/xwiki-platform/commit/69548c0320cbd772540cf4668743e69f879812cf"},{"name":"https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8","refsource":"MISC","url":"https://github.com/xwiki/xwiki-platform/commit/f0440dfcbba705e03f7565cd88893dde57ca3fa8"},{"name":"https://jira.xwiki.org/browse/XWIKI-18384","refsource":"MISC","url":"https://jira.xwiki.org/browse/XWIKI-18384"},{"name":"https://jira.xwiki.org/browse/XWIKI-18408","refsource":"MISC","url":"https://jira.xwiki.org/browse/XWIKI-18408"}]},"source":{"advisory":"GHSA-vh5c-jqfg-mhrh","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-02-04 23:15:00","lastModifiedDate":"2022-02-10 18:39:00","problem_types":["CWE-352"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:13.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:13.1:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","versionEndExcluding":"12.10.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32732","Ordinal":"208120","Title":"CVE-2021-32732","CVE":"CVE-2021-32732","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32732","Ordinal":"1","NoteData":"### 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)","Type":"Description","Title":null},{"CveYear":"2021","CveId":"32732","Ordinal":"2","NoteData":"2022-02-04","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"32732","Ordinal":"3","NoteData":"2022-02-04","Type":"Other","Title":"Modified"}]}}}