high7.5
CVE-2025-32044
Moodle allows unauthenticated REST API user data exposure
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | >= 4.5.0-beta, < 4.5.3 | 4.5.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | from 4.5.0 before 4.5.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2025-32044
- https://bugzilla.redhat.com/show_bug.cgi?id=2356829
- https://github.com/advisories/GHSA-345q-9jmq-g9q4
- https://nvd.nist.gov/vuln/detail/CVE-2025-32044
- https://github.com/moodle/moodle/commit/41917db65e6b3dba3bf3d805a8599e6752655646