{"id":"CVE-2022-35650","aliases":["BIT-moodle-2022-35650","GHSA-pgm5-cr62-prxq"],"url":"https://o3.security/vulnerability/CVE-2022-35650","summary":"Moodle Arbitrary file read when importing lesson questions","details":"The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.","published":"2022-07-25T15:29:06Z","modified":"2026-08-12T03:51:34.847736369Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.15"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.8"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.0.2"}],"fix":null,"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=436457"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35650.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35650"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106274"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.847736369Z"}}