CVE-2020-14321
HIGH 8.8CVSS 3.1Moodle Incorrect Authorization vulnerability
In Moodle before 3.9.1, 3.8.4, 3.7.7 and 3.5.13, teachers of a course were able to assign themselves the manager role within that course.
- Published
- 16 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- BIT-moodle-2020-14321GHSA-9q29-jcjw-fw7h
- Sources
- NVDJSONOSV GHSA-9q29-jcjw-fw7hJSON
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:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.13 | 3.5.13 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.7 | 3.7.7 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.8.0, < 3.8.4 | 3.8.4 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:3.9.0:-:*:*:*:*:*:* |
= 3.9.0 | |
| OSV | Packagist | moodle/moodle | >= 3.9.0-beta, < 3.9.1 | 3.9.1 |
| OSV | Packagist | moodle/moodle | >= 3.8.0-beta, < 3.8.4 | 3.8.4 |
| OSV | Packagist | moodle/moodle | >= 3.6.0-beta, < 3.7.7 | 3.7.7 |
| OSV | Packagist | moodle/moodle | < 3.5.13 | 3.5.13 |
References
- https://moodle.org/mod/forum/discuss.php?d=407393 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14321 · ADVISORY
- https://github.com/moodle/moodle/commit/d07fb8b9e8bf47fe60ad2aea553329bd1fb96e37 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 16 Aug 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Aug 2022)