CVE-2020-25701Moodle
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.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Nov 19, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
If the upload course tool in Moodle was used to delete an enrollment method which did not exist or was not already enabled, the tool would erroneously enable that enrollment method. This could lead to unintended users gaining access to the course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
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.9.0 < 3.9.3 |
3.9.3 |
composer require "moodle/moodle:^3.9.3" |
| Packagist | moodle/moodle |
≥ 3.8.0 < 3.8.6 |
3.8.6 |
composer require "moodle/moodle:^3.8.6" |
| Packagist | moodle/moodle |
≥ 3.7.0 < 3.7.9 |
3.7.9 |
composer require "moodle/moodle:^3.7.9" |
| Packagist | moodle/moodle |
≥ 3.5 < 3.5.15 |
3.5.15 |
composer require "moodle/moodle:^3.5.15" |
Per OSV / GitHub Advisories (GHSA-c9hq-g4q8-w893). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.5.0 ≤ 3.5.14 |
| moodle | moodle | ≥ 3.7.0 ≤ 3.7.8 |
| moodle | moodle | ≥ 3.8.0 ≤ 3.8.5 |
| moodle | moodle | ≥ 3.9.0 ≤ 3.9.2 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- moodle.org Vendor Advisory