Live threats

All CVEs / Moodle

CVE-2022-30599Moodle

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
May 18, 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 where an SQL injection risk was identified in Badges code relating to configuring criteria.

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 ≥ 4.0 < 4.0.1 4.0.1 composer require "moodle/moodle:^4.0.1"
Packagist moodle/moodle ≥ 3.11 < 3.11.7 3.11.7 composer require "moodle/moodle:^3.11.7"
Packagist moodle/moodle ≥ 3.10 < 3.10.11 3.10.11 composer require "moodle/moodle:^3.10.11"
Packagist moodle/moodle ≥ 3.9 < 3.9.14 3.9.14 composer require "moodle/moodle:^3.9.14"

Per OSV / GitHub Advisories (GHSA-69c3-5xxf-58q2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.9 < 3.9.14
moodlemoodle≥ 3.10 < 3.10.11
moodlemoodle≥ 3.11 < 3.11.7
moodlemoodle4.0.0
redhatenterprise_linux8.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.