Moodle course access permissions are not properly checked in course_output_fragment_course_overview
Impact
A flaw was found in the course overview output function where user access permissions were not fully enforced. This could allow unauthorized users to view information about courses they should not have access to, potentially exposing limited course details.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 5.0.0-beta before 5.0.3Ecosystem versions | 5.0.3 |
Version evidence: OSV · GHSA-rjcm-7v2p-9265
View original version evidence (7 explicit versions)
Original source description
A flaw was found in the course overview output function where user access permissions were not fully enforced. This could allow unauthorized users to view information about courses they should not have access to, potentially exposing limited course details.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-62393
- Patch github.com/moodle/moodle/commit/fc69b4744ba0132cc3093fd81940be15bc293835
- Security advisory access.redhat.com/security/cve/CVE-2025-62393
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php