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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle5.0.3GHSA-c5cj-xp43-qcc3
Packagistmoodle/moodle4.5.7GHSA-c5cj-xp43-qcc3

Affected products (as reported)

VendorProductVersions
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