{"id":"CVE-2021-36402","aliases":["CVE-2021-36402","GHSA-gv8f-43pg-c5qw","BIT-MOODLE-2021-36402"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle Improper Input Validation vulnerability","summary":"In Moodle, Users' names required additional sanitizing in the account confirmation email, to prevent a self-registration phishing risk.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Moodle, Users' names required additional sanitizing in the account confirmation email, to prevent a self-registration phishing risk.","source":"cvelist"},{"lang":"en","text":"In affected versions of Moodle, users' names require additional sanitizing in the account confirmation email, to prevent a self-registration phishing risk. This issue has been patched in versions 3.9.8, 3.10.5 and 3.11.1.","format":"markdown","source":"ghsa"}],"published":"2023-03-06T00:00:00.000Z","modified":"2026-09-08T08:48:14.526Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions","status":"affected"}],"product":"Moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.11.0-beta","status":"affected","fixed":"3.11.1"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.10.0-beta","status":"affected","fixed":"3.10.5"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.8"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.9.8"},{"status":"affected","introduced":"3.10.0","fixed":"3.10.5"},{"status":"affected","introduced":"3.11.0","fixed":"3.11.1"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.8"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.5"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=424808","tags":["advisory","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36402","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-07T17:59:21.392Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36402","url":"https://www.cve.org/CVERecord?id=CVE-2021-36402","licence":"CVE Terms of Use","modified":"2025-03-07T17:59:50.456Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv8f-43pg-c5qw","url":"https://github.com/advisories/GHSA-gv8f-43pg-c5qw","licence":"CC-BY-4.0","modified":"2023-12-06T01:01:20.388Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36402","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36402","licence":"Public domain","modified":"2026-06-17T03:58:49.090Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2021-36402","url":"https://osv.dev/vulnerability/BIT-MOODLE-2021-36402","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.526Z"}],"updatedAt":"2026-11-25T22:58:08.278Z","epss":{"score":0.00526,"percentile":0.45993,"date":"2026-12-01T12:00:22.000Z"}}