CVE-2021-20282Moodle
Medium 5.3 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
When creating a user account, it was possible to verify the account without having access to the verification email link/secret in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
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.5 < 3.5.17 |
3.5.17 |
composer require "moodle/moodle:^3.5.17" |
| Packagist | moodle/moodle |
≥ 3.8 < 3.8.8 |
3.8.8 |
composer require "moodle/moodle:^3.8.8" |
| Packagist | moodle/moodle |
≥ 3.9 < 3.9.5 |
3.9.5 |
composer require "moodle/moodle:^3.9.5" |
| Packagist | moodle/moodle |
≥ 3.10 < 3.10.2 |
3.10.2 |
composer require "moodle/moodle:^3.10.2" |
Per OSV / GitHub Advisories (GHSA-grj4-g57c-9xmv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.5.0 < 3.5.17 |
| moodle | moodle | ≥ 3.8.0 < 3.8.8 |
| moodle | moodle | ≥ 3.9.0 < 3.9.5 |
| moodle | moodle | ≥ 3.10.0 < 3.10.2 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- moodle.org Patch Vendor Advisory