CVE-2025-62397: Moodle: router produces json instead of 404 error for invalid course id
Vulnerability summary
CVE-2025-62397 is a medium (CVSS 5.3) vulnerability in moodle. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 23-10-2025PublishedVulnerability first disclosed.
- 23-10-2025Last modifiedVulnerability information updated.
Description
The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Moodle1 product
- moodle≥ 5.0.0, < 5.0.3
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- bugzilla.redhat.com/show_bug.cgi?id=2404430Issue TrackingX Refsource REDHATREPORTThird Party Advisory