CVE-2025-32044: Moodle allows unauthenticated REST API user data exposure
A flaw has been identified in Moodle where, on certain sites, unauthenticated users could retrieve sensitive user data—including names, contact information, and hashed passwords—via stack traces returned by specific API calls. Sites where PHP is configured with zend.exceptionignoreargs = 'On' or zend.exceptionignoreargs = 1 in the relevant php.ini file are NOT affected by this vulnerability.
Published Apr 25, 2025
Affected packages
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.5.0-beta, < 4.5.3
- Fixed in
- 4.5.3
- Check
composer show moodle/moodle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw has been identified in Moodle where, on certain sites, unauthenticated users could retrieve sensitive user data—including names, contact information, and hashed passwords—via stack traces returned by specific API calls. Sites where PHP is configured with zend.exception_ignore_args = 'On' or zend.exception_ignore_args = 1 in the relevant php.ini file are NOT affected by this vulnerability. Sites that do not have the zend.exception_ignore_args setting enabled and are using the internal Moodle LMS authentication system are affected by this vulnerability.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-26045
Moodle has a Remote Code Execution risk via file restore
high7.2Feb 21, 2026CVE-2026-26047
Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits
medium6.5Feb 21, 2026CVE-2025-67848
Moodle authentication bypass vulnerability
high8.1Feb 3, 2026CVE-2025-67849
Moodle Cross-site Scripting (XSS) vulnerability
high7.3Feb 3, 2026CVE-2025-67850
Moodle vulnerable to Cross-site Scripting
high7.3Feb 3, 2026CVE-2025-67851
Moodle formula injection vulnerability
medium6.1Feb 3, 2026
