Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2025-62396

CVE-2025-62396: Moodle's error handling leads to sensitive information disclosure

October 23, 2025 (updated October 24, 2025)

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.

References

  • access.redhat.com/security/cve/CVE-2025-62396
  • bugzilla.redhat.com/show_bug.cgi?id=2404429
  • github.com/advisories/GHSA-c5cj-xp43-qcc3
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e
  • github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce
  • moodle.org/mod/forum/discuss.php?d=470385
  • nvd.nist.gov/vuln/detail/CVE-2025-62396

Code Behaviors & Features

Detect and mitigate CVE-2025-62396 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.5.0-beta before 4.5.7, all versions starting from 5.0.0-beta before 5.0.3

Fixed versions

  • 5.0.3
  • 4.5.7

Solution

Upgrade to versions 4.5.7, 5.0.3 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-548: Exposure of Information Through Directory Listing

Source file

packagist/moodle/moodle/CVE-2025-62396.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 17 Nov 2025 00:19:29 +0000.