CVE-2021-36393: moodle SQL Injection
CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2021-36393
Published 06-03-2023Last modified 06-03-2025
Vulnerability summary
CVE-2021-36393 is a critical (CVSS 9.8) SQL Injection vulnerability in moodle. EPSS estimates a 52.30% chance of exploitation in the next 30 days, higher than 98.9% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
52.30%
0%100%
Critical · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 06-03-2023PublishedVulnerability first disclosed.
- 06-03-2025Last modifiedVulnerability information updated.
Description
In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.
CVSS metrics
2 scores · 2 sources · 1 versionCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
52.30%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 52.30% on 21-09-2026
21-09-202621-10-2026
EPSS score52.30%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Moodle1 product
- moodle< 3.9.8 | ≥ 3.10.0, < 3.10.5 | ≥ 3.11.0, < 3.11.1
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products