
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-67852 is an open redirect vulnerability in Moodle's OAuth login flow that allows a remote attacker to redirect authenticated users to attacker-controlled pages. The flaw stems from insufficient validation of redirect parameters during the OAuth authentication process. Affected versions include Moodle < 4.1.22, >= 4.4.0-beta and < 4.4.12, >= 4.5.0-beta and < 4.5.8, >= 5.0.0-beta and < 5.0.4, and >= 5.1.0-beta and < 5.1.1. The vulnerability was reported on December 19, 2025, and published to the GitHub Advisory Database on February 3, 2026. It carries a CVSS v3.1 base score of 3.5 (Low) per GitHub Advisory, though an alternative scoring of 6.1 (Medium) has also been assigned (Github Advisory, Red Hat Bugzilla).
The vulnerability is classified as CWE-601 (URL Redirection to Untrusted Site / Open Redirect), arising from Moodle's OAuth login flow failing to adequately validate the redirect parameter supplied in authentication requests (Github Advisory). An attacker can craft a malicious OAuth login URL containing a redirect parameter pointing to an external, attacker-controlled site; after the user successfully authenticates, Moodle follows the unvalidated redirect and sends the user to the malicious destination. Exploitation requires user interaction (the victim must click a crafted link) and low privileges, and the attack vector is network-based. A patch commit is publicly referenced at moodle/moodle@fa1624c (Github Advisory).
Successful exploitation allows an attacker to redirect authenticated Moodle users to arbitrary external sites, enabling phishing attacks where users may be deceived into submitting credentials or sensitive information on fake pages. The vulnerability results in low confidentiality impact and no integrity or availability impact, as the attacker cannot directly access Moodle data but can harvest information through social engineering post-redirect. The scope is unchanged, meaning the impact is limited to the user's session context rather than the Moodle server itself (Github Advisory, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation at this time (Github Advisory). The EPSS score is approximately 0.015% (4th percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
https://moodle.example.com/auth/oauth2/login.php?wantsurl=https://attacker.example.com/phish./auth/oauth2/login.php) with wantsurl or similar redirect parameters containing external URLs; repeated login attempts with varying external redirect destinations from the same source IP.Moodle has released patched versions addressing this vulnerability: 4.1.22, 4.4.12, 4.5.8, 5.0.4, and 5.1.1. Administrators should upgrade to the appropriate patched version as the primary remediation (Github Advisory). As interim mitigations, organizations can implement network-level controls to restrict redirect destinations to whitelisted domains, enforce OAuth state parameter and nonce validation, and monitor authentication logs for suspicious redirect attempts. Users should be educated to verify URLs after authentication, particularly when accessing Moodle via links received in email or messaging platforms.
The vulnerability was discussed in the Moodle community forums and tracked by Red Hat's Product Security team, which filed a Bugzilla report and assigned it low severity (Red Hat Bugzilla, Moodle Forum). No significant broader media coverage or notable researcher commentary beyond standard vulnerability database entries has been identified.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."