Live threats

All CVEs / Moodle

CVE-2021-32478Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Mar 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 and earlier unsupported versions are affected.

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.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"

Per OSV / GitHub Advisories (GHSA-78fm-qhh8-8858). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 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.