CVE-2024-43425Moodle Code Injection
Moodle Remote Code Execution vulnerability
Published Nov 7, 2024 · Updated Oct 28, 2026 · Also known as BIT-moodle-2024-43425, GHSA-v6f4-v8h8-3c87, UBUNTU-CVE-2024-43425
Key Facts
Patch immediately- CVE-2024-43425 is a high-severity vulnerability (CVSS 9.2 v4) affecting Moodle, moodle/moodle (composer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 88% probability of exploitation in the next 30 days.
- Fixed versions are available, including Moodle 4.1.12, Moodle 4.2.9, Moodle 4.3.6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v4
9.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
EPSS (30-day exploit likelihood)
88%
Higher than 99.7% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
71/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-43425
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-43425
- advisoryhttps://ubuntu.com/security/CVE-2024-43425
- advisoryhttp://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-82576
- advisoryGHSA advisory
- advisoryhttps://moodle.org/mod/forum/discuss.php?d=461193
Description
A flaw was found in Moodle. Additional restrictions are required to avoid a remote code execution risk in calculated question types. Note: This requires the capability to add/update questions.
Affected Products
8 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MoodleMoodle | >= 4.2 | 4.1.12 |
| moodle/moodlecomposer | >= 4.4.0-beta | 4.4.2 |
Patched Releases
Moodle
4.1.12, 4.2.9, 4.3.6, 4.4.2
moodle/moodle
4.1.12, 4.2.9, 4.3.6, 4.4.2
Timeline
Publicly disclosed
Nov 7, 2024
Last updated
Oct 28, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-43425
- advisoryubuntu.com · CVE-2024-43425
- advisorygit.moodle.org · gw
- advisoryGHSA advisory
FAQ
Common Questions.
A flaw was found in Moodle.
Affected: Moodle versions >= 4.2; moodle/moodle (composer) versions >= 4.4.0-beta. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Moodle 4.1.12, Moodle 4.2.9, Moodle 4.3.6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-43425 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo