CVE-2021-36393: Moodle
Critical severity, CVSS 9.8. EPSS: 71% probability of exploitation activity in the next 30 days.
In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Moodle, before 3.9.8: fixed in 3.9.8
- Moodle, from 3.10.0, before 3.10.5: fixed in 3.10.5
- Moodle, from 3.11.0, before 3.11.1: fixed in 3.11.1
Affected products
- Moodle Moodle: before 3.9.8 (fixed in 3.9.8); from 3.10.0, before 3.10.5 (fixed in 3.10.5); from 3.11.0, before 3.11.1 (fixed in 3.11.1)
Affected packages
- moodle/moodle (Packagist)
Published 2023-03-06. Last modified 2026-06-17.