Live threats

All CVEs / Moodle

CVE-2022-0332Moodle

Critical 9.8 No auth neededHigh EPSS

Priority
75
CVSS 3.1
9.8
EPSS
10.7%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Jan 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.

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 < 3.11.5 3.11.5 composer require "moodle/moodle:^3.11.5"

Per OSV / GitHub Advisories (GHSA-6jhm-4vmx-mr76). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.11.0 < 3.11.5

Official sources

References

Links published by the sources. Open them with care.