CVE-2021-36393
JSON

9.8critical

Moodle SQL Injection vulnerability

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
70.7% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
GHSA-f46j-r7q3-6cm2BIT-MOODLE-2021-36393

Description

In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.

Affected

Product or packageVersionsReported by
Moodle3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versionsCVE 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.8GitHub Advisory Database
moodle moodlebefore 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1NVD
moodle (Bitnami)before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1Bitnami Vulnerability Database

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36393 changed 2025-03-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-f46j-r7q3-6cm2 changed 2023-12-06CC-BY-4.0
NVDCVE-2021-36393 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2021-36393 changed 2026-09-08Apache-2.0