Exposure of Information Through Directory Listing Affecting moodle/moodle package, versions <4.5.7>=4.5.0-beta, <5.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MOODLEMOODLE-13704086
  • published24 Oct 2025
  • disclosed23 Oct 2025
  • creditYedidia Klein

Introduced: 23 Oct 2025

NewCVE-2025-62396  (opens in a new tab)
CWE-548  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.5.7, 5.0.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Exposure of Information Through Directory Listing due to the improper error handling. An attacker can gain unauthorized access to internal directory structures by sending crafted HTTP with absent Accept: text/html headers.

CVSS Base Scores

version 4.0
version 3.1