{"id":"GHSA-c5cj-xp43-qcc3","summary":"Moodle's error handling leads to sensitive information disclosure","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","CVE-2025-62396"],"modified":"2025-11-18T00:27:49.079146Z","published":"2025-10-23T12:31:17Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-10-24T20:58:32Z","nvd_published_at":"2025-10-23T12:15:31Z","cwe_ids":["CWE-548"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62396"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-62396"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2404429"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=470385"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0-beta"},{"fixed":"5.0.3"}]}],"versions":["v5.0.0","v5.0.0-beta","v5.0.0-rc1","v5.0.0-rc2","v5.0.0-rc3","v5.0.1","v5.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-c5cj-xp43-qcc3/GHSA-c5cj-xp43-qcc3.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0-beta"},{"fixed":"4.5.7"}]}],"versions":["v4.5.0","v4.5.0-beta","v4.5.0-rc1","v4.5.0-rc2","v4.5.1","v4.5.2","v4.5.3","v4.5.4","v4.5.5","v4.5.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-c5cj-xp43-qcc3/GHSA-c5cj-xp43-qcc3.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"}]}