GitHub Advisory Database
GHSA-w8x2-w4qr-v3x4
Moodle Code Injection vulnerability
Details
A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 4.3.0-rc2 (fixed in 4.3.0-rc2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5540
- https://github.com/moodle/moodle/commit/3400ae6510b11202aa9d86f7e75b3dff10d81522
- https://bugzilla.redhat.com/show_bug.cgi?id=2243432
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=451581
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79409