CVE-2021-32478Moodle
Medium 6.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.8.9 |
| moodle | moodle | ≥ 3.9.0 < 3.9.7 |
| moodle | moodle | ≥ 3.10.0 < 3.10.4 |
Official sources
References
Links published by the sources. Open them with care.
- moodle.org Patch Vendor Advisory