Live threats

All CVEs / Moodle

CVE-2021-36392Moodle

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
No
Published
Mar 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 3.11.0-beta < 3.11.1 3.11.1 composer require "moodle/moodle:^3.11.1"
Packagist moodle/moodle ≥ 3.10.0-beta < 3.10.5 3.10.5 composer require "moodle/moodle:^3.10.5"
Packagist moodle/moodle < 3.9.8 3.9.8 composer require "moodle/moodle:^3.9.8"

Per OSV / GitHub Advisories (GHSA-qc86-vgf2-6fq6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 3.9.8
moodlemoodle≥ 3.10.0 < 3.10.5
moodlemoodle≥ 3.11.0 < 3.11.1

Official sources

References

Links published by the sources. Open them with care.