CVE-2014-7831
Moodle exposes hidden grades to students
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.
Exploit likelihood
What each source reports
NVD Score used
4.0
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.
- Record
CVE-2014-7831- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2014-7831- Updated
- 2026-11-02
EUVDEUVD-2022-2552 No score
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.
- Record
EUVD-2022-2552- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-59j6-8g7w-prf7 No score
Moodle exposes hidden grades to students
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.
- Record
GHSA-59j6-8g7w-prf7- Weakness
- CWE-200
- Updated
- 2026-11-02
OSVGHSA-59j6-8g7w-prf7 No score
Moodle exposes hidden grades to students
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.
- Record
GHSA-59j6-8g7w-prf7- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
2.7.0 up to 2.7.3 | 2.7.3 |
moodle/moodlePackagist |
2.7.0 up to 2.7.3, plus listed versions v2.7.0v2.7.1v2.7.2 |
2.7.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-7831 is a medium vulnerability (CVSS 4.0) in Moodle, published November 24, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.67%, the 76th percentile. Fixed in moodle/moodle 2.7.3.
References
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47766
securitytracker.com/id/1031215
openwall.com/lists/oss-security/2014/11/17/11
moodle.org/mod/forum/discuss.php?d=275153
nvd.nist.gov/vuln/detail/CVE-2014-7831
github.com/moodle/moodle/commit/3b8876f5ef2b5cde1e9de2599efd03d02bdaf7d8
web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215
github.com/advisories/GHSA-59j6-8g7w-prf7
github.com/moodle/moodle