Live threats

All CVEs / Moodle

CVE-2021-32474Moodle

High 7.2

Priority
43
CVSS 3.1
7.2
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Mar 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. Note that this required site administrator access or access to the keypair. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 3.10 < 3.10.4 3.10.4 composer require "moodle/moodle:^3.10.4"
Packagist moodle/moodle ≥ 3.9 < 3.9.7 3.9.7 composer require "moodle/moodle:^3.9.7"
Packagist moodle/moodle ≥ 3.8 < 3.8.9 3.8.9 composer require "moodle/moodle:^3.8.9"
Packagist moodle/moodle ≥ 3.5 < 3.5.18 3.5.18 composer require "moodle/moodle:^3.5.18"

Per OSV / GitHub Advisories (GHSA-rvmc-8gmg-ggqr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 3.5.18
moodlemoodle≥ 3.8.0 < 3.8.9
moodlemoodle≥ 3.9.0 < 3.9.7
moodlemoodle≥ 3.10.0 < 3.10.4

Official sources

References

Links published by the sources. Open them with care.