CVE-2021-20281Moodle
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
- Mar 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
It was possible for some users without permission to view other users' full names to do so via the online users block 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.10.0 < 3.10.2 |
3.10.2 |
composer require "moodle/moodle:^3.10.2" |
| Packagist | moodle/moodle |
≥ 3.9.0 < 3.9.5 |
3.9.5 |
composer require "moodle/moodle:^3.9.5" |
| Packagist | moodle/moodle |
≥ 3.8.0 < 3.8.8 |
3.8.8 |
composer require "moodle/moodle:^3.8.8" |
| Packagist | moodle/moodle |
≥ 3.5 < 3.5.17 |
3.5.17 |
composer require "moodle/moodle:^3.5.17" |
Per OSV / GitHub Advisories (GHSA-93wh-35r4-6qmw). 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