CVE-2025-62396

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductMoodle
PublishedOct 23, 2025
First seenOct 23, 2025
Weakness typeCWE-548CWE-548

How to fix

Update
  • moodle moodle4.5.7, 5.0.3 or later
  • moodle/moodle5.0.3, 4.5.7 or later

Affected products

ProductAffected versionsFixed in
moodle moodle4.5.0 ≤ v < 4.5.7, 5.0.0 ≤ v < 5.0.34.5.7, 5.0.3
moodle/moodlePackagist5.0.0-beta ≤ v < 5.0.3, 4.5.0-beta ≤ v < 4.5.75.0.3, 4.5.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.