Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-62397 EUVD-2025-35670GHSA-rc65-mhj4-hp4r

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

Published Oct 23, 2025 · Updated Oct 23, 2025 · Assigned by fedora

Description

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

Affected products

VendorProductAffectedFixed
— moodle 5.0.0 – < 5.0.3 5.0.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Advisories 1

References