# CVE-2025-62396: Moodle: router (r.php) could expose application directories

- Severity: Medium 5.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-10-23T11:28:31.054Z
- Modified: 2026-10-27T12:10:00.343Z
- Also known as: GHSA-c5cj-xp43-qcc3, BIT-MOODLE-2025-62396
- Weaknesses: CWE-548
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## Description

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.

(As written by CVE List.)

## Affected

- moodle: from 5.0.0 before 5.0.3; from 4.5.0 before 4.5.7
- moodle/moodle (Packagist): from 5.0.0-beta before 5.0.3; from 4.5.0-beta before 4.5.7
- moodle moodle: from 4.5.0 before 4.5.7; from 5.0.0 before 5.0.3
- moodle (Bitnami): from 4.5.0 before 4.5.7; from 5.0.0 before 5.0.3

## Every score

- fedora: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://access.redhat.com/security/cve/CVE-2025-62396> (advisory, third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2404429> (advisory, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62396> (advisory, web)
- <https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e> (web)
- <https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce> (web)
- <https://github.com/moodle/moodle> (package)
- <https://moodle.org/mod/forum/discuss.php?d=470385> (web)

## Sources

- CVE List: [CVE-2025-62396](https://www.cve.org/CVERecord?id=CVE-2025-62396), CVE Terms of Use, modified 2025-10-23
- GitHub Advisory Database: [GHSA-c5cj-xp43-qcc3](https://github.com/advisories/GHSA-c5cj-xp43-qcc3), CC-BY-4.0, modified 2025-11-18
- NVD: [CVE-2025-62396](https://nvd.nist.gov/vuln/detail/CVE-2025-62396), Public domain, modified 2026-10-27
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-62396](https://osv.dev/vulnerability/BIT-MOODLE-2025-62396), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-62396 · Whole record: https://cve.day/CVE-2025-62396.json · Rebuilt by cve.day 2026-11-25T22:59:06.740Z
