All reports
Medium

Moodle exposes hidden grades to students

Affected versions

Affected versions
>= 2.7.0, < 2.7.3
Fixed version
2.7.3

Exploitation

CVE-2014-7831

Probability of exploitation in the next 30 days: 1.67%

FIRST EPSS · 2026-11-20

Description

lib/classes/grades_external.php in Moodle 2.7.x before 2.7.3 does not consider the moodle/grade:viewhidden capability before displaying hidden grades, which allows remote authenticated users to obtain sensitive information by leveraging the student role to access the get_grades web service.

Links

Credits

  • MarkLee131