Moodle hidden grade item exposure in core_grades_get_gradeitems
Moodle Project moodle
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Moodle Project moodle |
| No fix yet |
Original description
Moodle 4.2.0 through 4.5.15, 5.0.0 through 5.0.11, 5.1.0 through 5.1.8, 5.2.0 through 5.2.4, and 5.3.0 contain a missing capability check in the core_grades_get_gradeitems web service that allows enrolled students to view hidden grade items. Authenticated course users can call the AJAX or mobile web service to list hidden grade item ids, names, and categories that the gradebook conceals from them.
From the CVE record · VulnCheck
References
- github.com/moodle/moodle/blob/v5.3.0/public/grade/classes/external/get_gradeitems.php#L74-L80
- abraxaslabs.tech/research/moodle-grades-gradeitems
- github.com/moodle/moodle
- vulncheck.com/advisories/moodle-through-5.3.0-5.2.4-5.1.8-5.0.11-and-4.5.15-missing-authorization-via-core-grades-get-gradeitems
- git.moodle.org
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119556.json
- nvd.nist.gov/vuln/detail/CVE-2026-119556