{"id":"CVE-2022-0334","published":"2022-01-25T19:11:11Z","modified":"2024-08-02T23:25:40Z","title":"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","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00736,"percentile":0.5539,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043664","tags":["x_refsource_MISC"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=431102","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":11.08}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.11, <3.11.5",">=3.10, <3.10.8","<3.9.11"],"patched":["3.11.5","3.10.8","3.9.11"],"from":["GHSA-93pj-4p65-qmr9"],"provenance":"source"}],"summary":{"text":"A flaw in Moodle's grade reporting functionality stems from insufficient capability checks, which allows users to access grade reports for courses where they lack the required gradereport/user:view capability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:41Z"},"euvd":{"id":"EUVD-2022-0540","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-cve-2012-1159","parents":[{"from":"CVE-2012-1159","to":"CVE-2022-0334","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["grade/report/overview/lib.php"],"commits":["https://github.com/moodle/moodle/commit/31eae0eb1798642a2cabff2fdcf88af721632544","https://github.com/moodle/moodle/commit/1964d68f8500ea3c7b776fa8a2af6266ed109f84","https://github.com/moodle/moodle/commit/6d18f136ae88ec97e351a723df570816a959ec68"],"basis":"shared function","functions":["fill_table"]}]}]}}