CVE-2021-36392
9.8critical
Moodle SQL Injection vulnerability
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 0.84% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-qc86-vgf2-6fq6BIT-MOODLE-2021-36392
Description
In Moodle, an SQL injection risk was identified in the library fetching a user's enrolled courses.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Moodle | 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions | CVE List |
| moodle/moodle (Packagist) | from 3.11.0-beta before 3.11.1, from 3.10.0-beta before 3.10.5, before 3.9.8 | GitHub Advisory Database |
| moodle moodle | before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1 | NVD |
| moodle (Bitnami) | before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
| https://moodle.org/mod/forum/discuss.php?d=424797 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-36392 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36392 changed 2025-03-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qc86-vgf2-6fq6 changed 2023-12-06 | CC-BY-4.0 |
| NVD | CVE-2021-36392 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-36392 changed 2026-09-08 | Apache-2.0 |