{"id":"CVE-2022-35652","details":"An open redirect issue was found in Moodle due to improper sanitization of user-supplied data in mobile auto-login feature. A remote attacker can create a link that leads to a trusted website, however, when clicked, it redirects the victims to arbitrary URL/domain. Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.","aliases":["BIT-moodle-2022-35652","GHSA-243v-5pff-qqfj"],"modified":"2026-08-12T03:51:24.202837360Z","published":"2022-07-25T15:31:36Z","database_specific":{"cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35652.json","unresolved_ranges":[{"extracted_events":[{"introduced":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"},{"last_affected":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"fedora"},"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72171"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=436459"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35652.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35652"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106276"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"500c131eb49771e36f68d151dfa37fef5a9bc2df"},{"fixed":"84d3ae1b081ba764a54baf40ed063b96764c81c4"},{"introduced":"94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"},{"fixed":"b8fd606243238b9624b12c0fba6c39f74b0c0869"},{"introduced":"8b359ad7a63cf219110bca80552fe3d4ea2a635d"},{"fixed":"d069cb93378d39ee00ce5f30cc520aaee4ae496c"}],"database_specific":{"extracted_events":[{"introduced":"3.9.0"},{"fixed":"3.9.15"},{"introduced":"3.11.0"},{"fixed":"3.11.8"},{"introduced":"4.0.0"},{"fixed":"4.0.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"}}],"versions":["v3.9.14","v4.0.1","v3.11.7","v4.0.0","v3.11.6","v3.9.13","v3.11.5","v3.9.12","v3.11.4","v3.9.11","v3.11.3","v3.9.10","v3.11.1","v3.11.2","v3.9.9","v3.9.8","v3.11.0","v3.9.7","v3.9.6","v3.9.5","v3.9.4","v3.9.3","v3.9.2","v3.9.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35652.json"}}],"schema_version":"1.9.0"}