Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2025-3640

CVE-2025-3640: Moodle has an IDOR in web service which allows users enrolled in a course to access some details of other users

April 25, 2025

A flaw was found in Moodle. Insufficient capability checks made it possible for a user enrolled in a course to access some details, such as the full name and profile image URL, of other users they did not have permission to access.

References

  • access.redhat.com/security/cve/CVE-2025-3640
  • bugzilla.redhat.com/show_bug.cgi?id=2359734
  • github.com/advisories/GHSA-6g5x-h5x7-q4mq
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/64a4311266cbe9a9a942c836931bef224018b77d
  • moodle.org/mod/forum/discuss.php?d=467601
  • nvd.nist.gov/vuln/detail/CVE-2025-3640

Code Behaviors & Features

Detect and mitigate CVE-2025-3640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.18, all versions starting from 4.3.0-beta before 4.3.12, all versions starting from 4.4.0-beta before 4.4.8, all versions starting from 4.5.0-beta before 4.5.4

Fixed versions

  • 4.1.18
  • 4.3.12
  • 4.4.8
  • 4.5.4

Solution

Upgrade to versions 4.1.18, 4.3.12, 4.4.8, 4.5.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

packagist/moodle/moodle/CVE-2025-3640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:14:48 +0000.