CVE-2025-53021
MEDIUM 4.2CVSS 3.1Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter
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.
- Published
- 24 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-384
- Also known as
- BIT-moodle-2025-53021GHSA-cgvv-3455-824j
- Sources
- NVDJSONOSV GHSA-cgvv-3455-824jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.11.18 | |
| OSV | Packagist | moodle/moodle | >= 3.0.0, < 4.0.0 | 4.0.0 |
References
- https://github.com/moodle/moodle/releases/tag/v3.11.18 · Product, WEB
- https://moodledev.io/general/releases#moodle-311 · Product, WEB
- https://rentry.co/moodle-oauth2-cve · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53021 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 24 Jun 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Jun 2025)