CVE-2025-3642 — Vulnerability in moodle/moodle — CVE Details
Moodle has an authenticated remote code execution risk in the Moodle LMS EQUELLA repository
Summary
Advisory Timeline
- First published April 25, 2025 (535 days ago).
- Last revised January 26, 2026 — 276 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "moodle/moodle:^4.1.18"
composer require "moodle/moodle:^4.3.12"
composer require "moodle/moodle:^4.4.8"
composer require "moodle/moodle:^4.5.4"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| moodle/moodle | packagist | v2.3.10, v2.3.11, v2.3.4, v2.3.5 (+346 more) | 4.1.18 |
| moodle/moodle | packagist | v4.3.0, v4.3.0-beta, v4.3.0-rc1, v4.3.0-rc2 (+11 more) | 4.3.12 |
| moodle/moodle | packagist | v4.4.0, v4.4.0-beta, v4.4.0-rc1, v4.4.0-rc2 (+7 more) | 4.4.8 |
| moodle/moodle | packagist | v4.5.0, v4.5.0-beta, v4.5.0-rc1, v4.5.0-rc2 (+3 more) | 4.5.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3642ADVISORY
- https://github.com/moodle/moodle/commit/630fbf6230ee18d63ce69bea34173fb151b599daWEB
- https://access.redhat.com/security/cve/CVE-2025-3642WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2359738WEB
- https://github.com/moodle/moodlePACKAGE
- https://moodle.org/mod/forum/discuss.php?d=467603WEB
Frequently Asked Questions
- What is CVE-2025-3642?
- Moodle has an authenticated remote code execution risk in the Moodle LMS EQUELLA repository This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-3642?
- CVE-2025-3642 affects moodle/moodle. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-3642 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2019-3809CRITICAL
Moodle Blind SSRF Risk in /badges/mybackpack.php
- CVE-2022-40315CRITICAL
Moodle Minor SQL injection risk in admin user browsing
- CVE-2023-28333CRITICAL
Moodle's Mustache pix helper contained a potential Mustache injection risk if combined with user input
- CVE-2021-36392CRITICAL
Moodle SQL Injection vulnerability
- CVE-2022-30600CRITICAL
Incorrect Calculation in moodle
- CVE-2025-67848HIGH
Moodle authentication bypass vulnerability
- CVE-2025-26533HIGH
Moodle has a SQL injection risk in course search module list filter
- CVE-2025-26529HIGH
Moodle has a stored XSS risk in admin live log
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies