medium5.3
CVE-2025-62396
Moodle's error handling leads to sensitive information disclosure
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | >= 5.0.0-beta, < 5.0.3 | 5.0.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | from 4.5.0 before 4.5.7 from 5.0.0 before 5.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2025-62396
- https://bugzilla.redhat.com/show_bug.cgi?id=2404429
- https://github.com/advisories/GHSA-c5cj-xp43-qcc3
- https://nvd.nist.gov/vuln/detail/CVE-2025-62396
- https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e
- https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce
- https://moodle.org/mod/forum/discuss.php?d=470385