{"id":"CVE-2025-62396","summary":"Moodle: router (r.php) could expose application directories","details":"An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.","aliases":["BIT-moodle-2025-62396","GHSA-c5cj-xp43-qcc3"],"modified":"2026-08-12T03:51:13.613694117Z","published":"2025-10-23T11:28:31.054Z","database_specific":{"cna_assigner":"fedora","cwe_ids":["CWE-548"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62396.json","unresolved_ranges":[{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.3"},{"introduced":"4.5.0"},{"fixed":"4.5.7"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://git.moodle.org"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-62396"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62396.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62396"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2404429"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"52c0da7c647bd6ba8c5f61882d88959821a1fb41"},{"fixed":"d1321ff0d53b1be617ccba1d0167fc30b539901c"},{"introduced":"78e860178314c45441a21e0b99455400b8283d48"},{"fixed":"1b2d270397613a3889a24f59be0ee6d0292a7556"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.5.0"},{"fixed":"4.5.7"},{"introduced":"5.0.0"},{"fixed":"5.0.3"}]}}],"versions":["v4.5.6","v5.0.2","v4.5.5","v5.0.1","v5.0.0","v4.5.4","v4.5.3","v4.5.2","v4.5.1","v4.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62396.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}