CVE-2021-32476Moodle
High 7.5 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Mar 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
A denial-of-service risk was identified in the draft files area, due to it not respecting user file upload limits. Moodle versions 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.
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" |
| Packagist | moodle/moodle |
≥ 3.5.17 < 3.5.18 |
3.5.18 |
composer require "moodle/moodle:^3.5.18" |
Per OSV / GitHub Advisories (GHSA-4qxc-qxrp-33cw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.5.18 |
| moodle | moodle | ≥ 3.8.0 < 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