MEDIUM5.3
GHSA-c5cj-xp43-qcc3
Moodle's error handling leads to sensitive information disclosure
Quick fix
GHSA-c5cj-xp43-qcc3 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^5.0.3Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
5.0.0-betaFixed in: 5.0.3Fix
composer require moodle/moodle:^5.0.3Packagist/moodle/moodle
Introduced in:
4.5.0-betaFixed in: 4.5.7Fix
composer require moodle/moodle:^4.5.7References
- https://nvd.nist.gov/vuln/detail/CVE-2025-62396[ADVISORY]
- https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e[WEB]
- https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce[WEB]
- https://access.redhat.com/security/cve/CVE-2025-62396[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2404429[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=470385[WEB]