Vulnerability · Published Oct 23, 2025 · Assigned by fedora
CVE-2025-62396Moodle: router (r.php) could expose application directories
Medium 5.3
In plain English
A medium-severity security flaw in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 77.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 5.0.3 | GHSA-c5cj-xp43-qcc3 |
| Packagist | moodle/moodle | 4.5.7 | GHSA-c5cj-xp43-qcc3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 5.0.0 – before 5.0.34.5.0 – before 4.5.7 |
Weakness: CWE-548 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://access.redhat.com/security/cve/CVE-2025-62396 vdb-entry, x_refsource_REDHAT
- RHBZ#2404429 issue-tracking, x_refsource_REDHAT