What’s Vulnerable › Vulnerabilities

CVE-2025-62397: Moodle: router produces json instead of 404 error for invalid course id

Description

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

Affected products

How to fix

Upgrade to a fixed version: Moodle 5.0.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-62397 or the next vulnerability affects your stack