CVE-2025-3642
PHP vulnerability analysis and mitigation

Overview

A remote code execution vulnerability (CVE-2025-3642) was identified in the Moodle Learning Management System's EQUELLA repository. The vulnerability was discovered and disclosed on April 15, 2025, affecting Moodle versions 4.5 to 4.5.3, 4.4 to 4.4.7, 4.3 to 4.3.11, 4.1 to 4.1.17, and earlier unsupported versions. By default, this vulnerability was only accessible to users with teacher and manager roles on sites with the EQUELLA repository enabled (Wiz, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 8.8 (HIGH) with the following vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code - 'Code Injection'). The issue specifically affects the EQUELLA repository component of Moodle LMS, requiring authenticated access with teacher or manager privileges (Wiz).

Impact

If exploited, this vulnerability could allow authenticated users with teacher or manager roles to execute arbitrary code on the affected system through the EQUELLA repository component. This could lead to complete compromise of the vulnerable system, potentially affecting the confidentiality, integrity, and availability of the Moodle installation (Wiz).

Exploitability

The vulnerability requires authenticated access with teacher or manager privileges and is only exploitable on systems with the EQUELLA repository enabled. The attack can be launched remotely by users with the appropriate privileges (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.5.4, 4.4.8, 4.3.12, and 4.1.18. Organizations running affected versions should upgrade to the corresponding fixed version immediately (Bugzilla).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77143HIGH8.8
  • PHP logoPHP
  • composer://jweiland/pforum
NoYesAug 25, 2026
CVE-2026-77142HIGH8.8
  • PHP logoPHP
  • composer://jweiland/yellowpages2
NoYesAug 25, 2026
CVE-2026-77146HIGH8.3
  • PHP logoPHP
  • composer://in2code/femanager
NoYesAug 25, 2026
CVE-2026-77145HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026
CVE-2026-77144HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management