CVE-2025-62397

published 23 Oct 2025 · updated 5 Nov 2026

Moodle: router produces json instead of 404 error for invalid course id

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.0.3.

The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Moodlemoodle>=5.0.0 <5.0.35.0.3
>=5.0.0 <5.0.35.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-62397 severity on Zeptric[![CVE-2025-62397](https://zeptric.io/badge/cve/CVE-2025-62397.svg)](https://zeptric.io/cve/CVE-2025-62397)