Home / Moodle / Moodle / CVE-2025-53021
CVE-2025-53021: is it exploited, and which versions of Moodle are affected and fixed?
CVE-2025-53021 is a session fixation vulnerability in Moodle. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: moodle/moodle from 3.0.0 before 4.0.0 (GitHub advisory GHSA-cgvv-3455-824j). Fixed in 4.0.0 (GitHub advisory GHSA-cgvv-3455-824j). Severity: Medium (4.2, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-53021?
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.
From the CVE record by mitre, last updated June 24, 2025, 19:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Moodle | Moodle | from 3 through 3.11.18 |
As the CVE record by mitre states it, last updated June 24, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.0.0, < 4.0.0 | 4.0.0 | GHSA-cgvv-3455-824j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 26, 2025. Summary: Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moodle | moodle | from 3.0.0 through 3.11.18 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:37 UTC.
How severe is CVE-2025-53021?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-53021 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 24, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 34.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-384 Session Fixation
Where are the vendor advisories and references?
- https://rentry.co/moodle-oauth2-cve
- https://github.com/moodle/moodle/releases/tag/v3.11.18
- https://moodledev.io/general/releases#moodle-311
When was it published, and where is the official record?
- Reserved
- June 24, 2025
- Published
- June 24, 2025, 00:00 UTC
- CVE record updated
- June 24, 2025, 19:46 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 09:37 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Moodle?
- Sep 30, 2026CVE-2026-102588 Moodle: origin not validated
- Sep 30, 2026CVE-2026-102587 Moodle: observable Response Discrepancy
- Sep 30, 2026CVE-2026-102586 Moodle: cross-site scripting (XSS)
- Sep 30, 2026CVE-2026-102585 Moodle: placement of User into Incorrect Group
- Sep 30, 2026CVE-2026-102584 Moodle: direct Request
- Sep 30, 2026CVE-2026-102583 Moodle: direct Request
- Sep 30, 2026CVE-2026-102582 Moodle: direct Request
- Sep 30, 2026CVE-2026-102581 Moodle: cross-site scripting (XSS)
Questions about CVE-2025-53021
Is CVE-2025-53021 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Moodle are affected by CVE-2025-53021?
moodle/moodle from 3.0.0 before 4.0.0, per the GitHub advisory GHSA-cgvv-3455-824j. The tables above give every range the sources list.
Which version fixes CVE-2025-53021?
4.0.0, per the GitHub advisory GHSA-cgvv-3455-824j. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-53021?
Medium (4.2, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2025-53021?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.