CVE-2023-5539
HIGH 8.8CVSS 3.1Moodle Code Injection vulnerability
A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.
- Published
- 9 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- BIT-moodle-2023-5539GHSA-3xxm-3g3c-w579
- Sources
- NVDJSONOSV GHSA-3xxm-3g3c-w579JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 3.9.24 | 3.9.24 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.17 | 3.11.17 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.11 | 4.0.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.6 | 4.1.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.3 | 4.2.3 |
| NVD | fedoraproject | extra_packages_for_enterprise_linuxcpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | Packagist | moodle/moodle | < 4.3.0-rc2 | 4.3.0-rc2 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408 · Patch, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2243352 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=451580 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-5539 · ADVISORY
- https://github.com/moodle/moodle/commit/ba974a4add981743b5a37c5bcc4714c62f6052ce · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Nov 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Nov 2023)