Session Fixation Vulnerability in Moodle
CVE-2025-53021
Key facts: CVE-2025-53021 is a medium severity (CVSS 4.2) vulnerability in Moodle. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days.
What is CVE-2025-53021?
A session fixation vulnerability exists in Moodle versions 3.x through 3.11.18, enabling unauthenticated attackers to hijack user sessions via the 'sesskey' parameter. Attackers can obtain the 'sesskey' without authentication and exploit it during the OAuth2 login flow to link the victim's session to their own. This could lead to unauthorized access, allowing attackers complete control over user accounts. It's important to note that this vulnerability affects only those products that are no longer supported by the maintainer.
Affected Version(s)
Moodle 3 <= 3.11.18