CVE-2022-0334Moodle
Medium 4.3
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Jan 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.11 < 3.11.5 |
3.11.5 |
composer require "moodle/moodle:^3.11.5" |
| Packagist | moodle/moodle |
≥ 3.10 < 3.10.8 |
3.10.8 |
composer require "moodle/moodle:^3.10.8" |
| Packagist | moodle/moodle |
< 3.9.11 |
3.9.11 |
composer require "moodle/moodle:^3.9.11" |
Per OSV / GitHub Advisories (GHSA-93pj-4p65-qmr9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≤ 3.8.9 |
| moodle | moodle | ≥ 3.9.0 ≤ 3.9.11 |
| moodle | moodle | ≥ 3.10.0 < 3.10.9 |
| moodle | moodle | ≥ 3.11.0 < 3.11.5 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- moodle.org Patch Vendor Advisory