Feed
9.8CRITICAL

CVE-2021-36393Moodle SQL Injection vulnerability

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 70.7% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
70.7%
percentile 100%
Priority
75/100 high
how it is computed
Fix
Named by a source
CVE published 6 Mar 2023

Needs attention

  • EPSS up by 10 percentage points or more in about a week

EPSS 70.7% (+50) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

  • moodle/moodle (Packagist): upgrade to 3.11.1 / 3.10.5 / 3.9.8 or later on your release line.

Who should check

  • moodle/moodle (Packagist) pkg:composer/moodle/moodle

    • Affected>= 3.11.0-beta, < 3.11.1Fixed in3.11.1OSV (GHSA-f46j-r7q3-6cm2)
    • Affected>= 3.10.0-beta, < 3.10.5Fixed in3.10.5OSV (GHSA-f46j-r7q3-6cm2)
    • Affected< 3.9.8Fixed in3.9.8OSV (GHSA-f46j-r7q3-6cm2)

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-f46j-r7q3-6cm2)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-89

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.

Update history

  • 24 Nov 2026Exploitation more likely 52.3% → 70.7%
  • 9 Mar 2026Exploitation more likely 11.8% → 26.8%
  • 8 Mar 2026Exploitation more likely 11.8% → 26.8%
  • 9 Feb 2026Exploitation more likely 11.8% → 26.8%
  • 8 Feb 2026Exploitation more likely 11.8% → 26.8%
  • 8 Jan 2026Exploitation more likely 11.8% → 26.8%
  • 8 Dec 2025Exploitation more likely 11.7% → 26.8%
  • 10 Nov 2025Exploitation more likely 11.7% → 26.8%
  • 8 Nov 2025Exploitation more likely 11.7% → 26.8%
  • 8 Oct 2025Exploitation more likely 13.8% → 30.4%
  • 8 Sept 2025Exploitation more likely 11.3% → 24.9%
  • 8 Aug 2025Exploitation more likely 10.2% → 23.0%
  • 8 Jul 2025Exploitation more likely 11.5% → 26.3%
  • 9 Jun 2025Exploitation more likely 11.5% → 26.3%
  • 8 Jun 2025Exploitation more likely 11.5% → 26.3%
  • 8 May 2025Exploitation more likely 9.9% → 23.6%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 70 min ago · osv 56 min ago · nvd 89 min ago · epss 57 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-moodle-2021-36393, GHSA-f46j-r7q3-6cm2