Skip to content
Fencer Vulns
critical 9.8

CVE-2021-36392 json

Moodle SQL Injection vulnerability

published 2023-03-06 3 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2021-36392 , EUVD-2023-1078 , GHSA-qc86-vgf2-6fq6

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

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

Patch / fix

  • packagist moodle/moodle 3.9.8, 3.10.5, 3.11.1
  • bitnami moodle 3.9.8, 3.10.5, 3.11.1
  • moodle moodle 3.9.8, 3.10.5, 3.11.1

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
20 mo ago

Exploit prediction

0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=3.11.0-beta, <3.11.1
>=3.10.0-beta, <3.10.5
<3.9.8
3.11.1
3.10.5
3.9.8
bitnami moodle
<3.9.8
>=3.10.0, <3.10.5
>=3.11.0, <3.11.1
3.9.8
3.10.5
3.11.1

Affected products

  • n/a Moodle

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.