CVE-2022-0334
MEDIUM 4.3CVSS 3.1Insufficient user authorization in Moodle
A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.
- Published
- 25 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-668CWE-863
- Also known as
- BIT-moodle-2022-0334GHSA-93pj-4p65-qmr9
- Sources
- NVDJSONOSV GHSA-93pj-4p65-qmr9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
<= 3.8.9 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.9.0, <= 3.9.11 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.10.0, < 3.10.9 | 3.10.9 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.5 | 3.11.5 |
| OSV | Packagist | moodle/moodle | >= 3.11, < 3.11.5 | 3.11.5 |
| OSV | Packagist | moodle/moodle | >= 3.10, < 3.10.8 | 3.10.8 |
| OSV | Packagist | moodle/moodle | < 3.9.11 | 3.9.11 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2043664 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=431102 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0334 · ADVISORY
- https://github.com/moodle/moodle/commit/1964d68f8500ea3c7b776fa8a2af6266ed109f84 · WEB
- https://github.com/moodle/moodle/commit/6d18f136ae88ec97e351a723df570816a959ec68 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jan 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 28 Jan 2022)