Home / Advisories / CVE-2025-53021 CVE-2025-53021: Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter medium Affects moodle/moodle . Feed 2026.11.23.2, updated 2026-11-23; published 2025-06-24 ; advisory modified 2025-07-10 .
Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter Package moodle/moodle Composer Affected versions >=3.0.0 and <4.0.0Fixed in 4.0.0Severity medium CVSS 4.2 Exploitation not on CISA KEV · EPSS 0% (33.4th percentile) Published 2025-06-24 Source osv.dev References Quick answers Is CVE-2025-53021 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2025-53021?
moodle/moodle: 4.0.0.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2024-43425 high Moodle Remote Code Execution vulnerability same package: moodle/moodle CVE-2022-35650 high Moodle Arbitrary file read when importing lesson questions same package: moodle/moodle CVE-2021-36393 critical Moodle SQL Injection vulnerability same package: moodle/moodle CVE-2013-3630 medium Moodle Authenticated Spelling Binary Remote Code Execution same package: moodle/moodle CVE-2022-0332 critical SQL injection in Moodle same package: moodle/moodle CVE-2018-1133 high Moodle calculated question type allows remote code execution by Question authors same package: moodle/moodle