# CVE-2025-53021: Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter

- Severity: Medium 4.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-06-24T00:00:00.000Z
- Modified: 2026-09-08T08:48:15.533Z
- Also known as: GHSA-cgvv-3455-824j, BIT-MOODLE-2025-53021
- Weaknesses: CWE-384
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Moodle Moodle: from 3 up to 3.11.18; from 3.0.0 up to 3.11.18
- moodle/moodle (Packagist): from 3.0.0 before 4.0.0
- moodle (Bitnami): from 3.0.0 before 4.1.10

## Every score

- mitre: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://rentry.co/moodle-oauth2-cve> (advisory, third-party-advisory, web)
- <https://github.com/moodle/moodle/releases/tag/v3.11.18> (product, web)
- <https://moodledev.io/general/releases#moodle-311> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53021> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2025-53021](https://www.cve.org/CVERecord?id=CVE-2025-53021), CVE Terms of Use, modified 2025-06-24
- GitHub Advisory Database: [GHSA-cgvv-3455-824j](https://github.com/advisories/GHSA-cgvv-3455-824j), CC-BY-4.0, modified 2025-07-10
- NVD: [CVE-2025-53021](https://nvd.nist.gov/vuln/detail/CVE-2025-53021), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-53021](https://osv.dev/vulnerability/BIT-MOODLE-2025-53021), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-53021 · Whole record: https://cve.day/CVE-2025-53021.json · Rebuilt by cve.day 2026-11-25T22:58:59.581Z
