CVE-2021-43559
HIGH 8.8CVSS 3.1Moodle contains CSRF vulnerability
A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. The "delete related badge" functionality did not include the necessary token check to prevent a CSRF risk.
- Published
- 22 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- BIT-moodle-2021-43559GHSA-3jrj-x6cj-97cp
- Sources
- NVDJSONOSV GHSA-3jrj-x6cj-97cpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
<= 3.8.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.11 | 3.9.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.10.0, < 3.10.8 | 3.10.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.4 | 3.11.4 |
| NVD | fedoraproject | extra_packages_for_enterprise_linuxcpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| OSV | Packagist | moodle/moodle | >= 3.11, < 3.11.4 | 3.11.4 |
| OSV | Packagist | moodle/moodle | >= 3.10, < 3.10.8 | 3.10.8 |
| OSV | Packagist | moodle/moodle | >= 3.9, < 3.9.11 | 3.9.11 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2021517 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=429099 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43559 · ADVISORY
- https://github.com/moodle/moodle/commit/20d41ebae4eb28269298504c68db511a05ec4969 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 22 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)