{"id":"UBUNTU-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.","modified":"2025-10-24T04:53:47Z","published":"2022-07-25T16:15:00Z","upstream":["CVE-2022-35652"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-35652"},{"type":"REPORT","url":"https://moodle.org/mod/forum/discuss.php?d=436459"},{"type":"REPORT","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72171"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106276"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-35652"}],"affected":[{"package":{"name":"moodle","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/moodle@3.0.3+dfsg-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.3+dfsg-0ubuntu1","binary_name":"moodle"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35652.json"}},{"package":{"name":"moodle","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/moodle@3.0.3+dfsg-0ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.3+dfsg-0ubuntu1","binary_name":"moodle"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35652.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}