Moodle Open Redirect vulnerability
Impact
A flaw was found in Moodle. An Open Redirect vulnerability in the OAuth login flow allows a remote attacker to redirect users to attacker-controlled pages after they have successfully authenticated. This occurs due to insufficient validation of redirect parameters, which could lead to phishing attacks or information disclosure.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.1.22Ecosystem versions | 4.1.22 |
| From 4.4.0-beta before 4.4.12Ecosystem versions | 4.4.12 |
| From 4.5.0-beta before 4.5.8Ecosystem versions | 4.5.8 |
| From 5.0.0-beta before 5.0.4Ecosystem versions | 5.0.4 |
| From 5.1.0-beta before 5.1.1Ecosystem versions | 5.1.1 |
Version evidence: OSV · GHSA-qv78-6gpp-hm68
View original version evidence (392 explicit versions)
Original source description
A flaw was found in Moodle. An Open Redirect vulnerability in the OAuth login flow allows a remote attacker to redirect users to attacker-controlled pages after they have successfully authenticated. This occurs due to insufficient validation of redirect parameters, which could lead to phishing attacks or information disclosure.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-67852
- Patch github.com/moodle/moodle/commit/fa1624c8c9e3efa917f0e9d2666bb59d8be2a975
- Security advisory access.redhat.com/security/cve/CVE-2025-67852
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php