Vulnerabilities

CVE-2025-53021

Medium 4.2 CVSS 3.1

Description

A session fixation vulnerability in Moodle 3.x through 3.11.18 allows unauthenticated attackers to hijack user sessions via the sesskey parameter. The sesskey can be obtained without authentication and reused within the OAuth2 login flow, resulting in the victim's session being linked to the attacker's. Successful exploitation results in full account takeover. According to the Moodle Releases page, "Bug fixes for security issues in 3.11.x ended 11 December 2023." NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Description as published by the source, in English.

Key facts

Published
2025-06-24
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Scored by
cve@mitre.org
Probability of exploitation
0.3 % higher than 21 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Moodle Moodle ≥ 3.0.0, ≤ 3.11.18 Affected
moodle moodle (Packagist) ≥ 3.0.0, < 4.0.0 Affected

Weakness type

  • CWE-384: Session Fixation

    Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1134.002: Create Process with Token stealth, privilege-escalation
  • T1134.003: Make and Impersonate Token stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1606: Forge Web Credentials credential-access

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities