Advisory record · GHSA-cgvv-3455-824j

Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter

CVSS 4.2 MediumEPSS 0.0039 · 33rd percentile

Published by the GitHub Advisory Database at 24 Jun 2025, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.0.0, <4.0.04.0.0
Identifiers
GHSA-cgvv-3455-824j · BIT-moodle-2025-53021 · CVE-2025-53021 · PKSA-z5yg-hzjp-3ryq
Weakness (CWE)
CWE-384
Published
24 Jun 2025
Updated
10 Jul 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle versions 3.0.0 up to 4.0.0 (fixed in 4.0.0) are affected by a session fixation flaw that lets unauthenticated attackers hijack user sessions via the sesskey parameter. The attacker can obtain a sesskey without logging in and reuse it in the OAuth2 login flow, so a victim's session becomes linked to the attacker's, which can lead to full account takeover. The source states that this affects only versions no longer supported by the maintainer, as bug fixes for 3.11.x ended in December 2023, so upgrade to Moodle 4.0.0 or later. No workaround is listed.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.2 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N CNA (mitre)
  • CISA KEV Not listed.
  • EPSS 0.0039, the 33rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.