CVE-2025-32044: Moodle User Data Exposure via Unauthenticated REST API

moodle/moodle Updated 02 Oct 2025

Summary

25/04/2025
Yes i
High
7.5

CVE-2025-32044: Moodle allows unauthenticated REST API user data exposure. Affects moodle/moodle versions >= 4.5.0-beta, < 4.5.3. Fixed in 4.5.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Moodle is a widely-used open-source learning management system (LMS) designed to provide educators, administrators, and learners with a single robust, secure, and integrated system to create personalized learning environments. It offers features such as course management, user enrollment, and assessment tools. However, certain configurations of Moodle can expose sensitive user data through its REST API, particularly when specific PHP settings are not properly configured.

Vulnerability Detail

A vulnerability exists in Moodle that allows unauthenticated users to access sensitive user data, including names, contact information, and hashed passwords, through stack traces returned by certain API calls. This issue arises when the PHP setting 'zend.exception_ignore_args' is disabled, making the system susceptible to information disclosure. The ramifications of this vulnerability can lead to unauthorized access to personal information, potentially compromising user privacy and security.

How To Fix

Minimum fixed version

4.5.3

This is the first release that contains the fix.

composer require moodle/moodle:4.5.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can enable the 'zend.exception_ignore_args' setting in your php.ini file by adding or modifying the following line: 'zend.exception_ignore_args = 1'. This will prevent sensitive information from being exposed in stack traces.

Conclusion

The vulnerability CVE-2025-32044 poses a significant risk to Moodle installations that do not have the appropriate PHP settings configured. It is essential to update to the patched version and consider the recommended workarounds to protect sensitive user data from unauthorized access.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

CVE-2025-32044 is a vulnerability in Moodle that allows unauthenticated users to access sensitive user data through unauthenticated REST API calls.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can expose sensitive user data, including names, contact information, and hashed passwords.

If an immediate update is not possible, enable the 'zend.exception_ignore_args' setting in your php.ini file as a temporary workaround.

The CVSS score for this vulnerability is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

How To Fix

Minimum fixed version

4.5.3

This is the first release that contains the fix.

composer require moodle/moodle:4.5.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback