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

- Severity: Medium 5.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-10-23T11:28:33.922Z
- Modified: 2026-11-05T21:10:00.183Z
- Also known as: BIT-MOODLE-2025-62397
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## Description

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

(As written by CVE List.)

## Affected

- moodle: from 5.0.0 before 5.0.3
- moodle moodle: from 5.0.0 before 5.0.3
- moodle (Bitnami): from 5.0.0 before 5.0.3

## Every score

- fedora: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://access.redhat.com/security/cve/CVE-2025-62397> (advisory, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2404430> (advisory, issue-tracking, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62397> (web)

## Sources

- CVE List: [CVE-2025-62397](https://www.cve.org/CVERecord?id=CVE-2025-62397), CVE Terms of Use, modified 2025-10-23
- NVD: [CVE-2025-62397](https://nvd.nist.gov/vuln/detail/CVE-2025-62397), Public domain, modified 2026-11-05
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-62397](https://osv.dev/vulnerability/BIT-MOODLE-2025-62397), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-62397 · Whole record: https://cve.day/CVE-2025-62397.json · Rebuilt by cve.day 2026-11-25T22:59:06.740Z
