Original description
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.
Affected software
- Moodle ≥ 3.11.0 < 3.11.8≥ 4.0.0 < 4.0.2≥ 3.9.0 < 3.9.15 Fixed in: 3.11.8, 4.0.2, 3.9.15 exact match
Details
- Published
- 2022-07-25
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-601
- EPSS (30-day exploit probability)
- 1.09% (percentile 66)
References
- cve.org/CVE-2022-35652
- nvd.nist.gov/vuln/detail/CVE-2022-35652
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72171
- bugzilla.redhat.com/show_bug.cgi?id=2106276
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M...
- moodle.org/mod/forum/discuss.php?d=436459
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.