GHSA-w8x2-w4qr-v3x4 · Severity: high · Ecosystem: composer — Moodle Code Injection vulnerability
A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.
Conclusion & alert: CVE-2023-5540 is rated Moderate Risk (48.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.20%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-20 | 2.01% | 2.20% | +0.19% |
| 2 | 2026-01-26 | 1.83% | 2.01% | +0.18% |
| 3 | 2025-11-21 | — | 1.83% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.7 | 3.1 | MEDIUM |
|
1.2 | 3.4 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-w8x2-w4qr-v3x4 · Severity: high · Ecosystem: composer — Moodle Code Injection vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
ubuntu
|
medium | CVE-2023-5540 medium priority: Ubuntu including 1 source packages (moodle), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 8, needs-triage 3, ignored 1. | https://ubuntu.com/security/CVE-2023-5540 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| moodle | moodle | < 3.9.24 | cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| moodle | moodle | >= 3.11.0, < 3.11.17 | cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| moodle | moodle | >= 4.0.0, < 4.0.11 | cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| moodle | moodle | >= 4.1.0, < 4.1.6 | cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| moodle | moodle | >= 4.2.0, < 4.2.3 | cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| fedoraproject | extra_packages_for_enterprise_linux | 7.0 | cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 38 | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79409 | Patch |
| https://bugzilla.redhat.com/show_bug.cgi?id=2243432 | Issue Tracking Patch Third Party Advisory |
| https://moodle.org/mod/forum/discuss.php?d=451581 | Patch Vendor Advisory |