{"id":"CVE-2023-5540","details":"A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.","aliases":["BIT-moodle-2023-5540","GHSA-w8x2-w4qr-v3x4"],"modified":"2026-03-14T12:24:09.129485Z","published":"2023-11-09T20:15:09.103Z","references":[{"type":"FIX","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79409"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243432"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=451581"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"0"},{"fixed":"71b514944365362ceaac1018bf7970c2b080c0f2"},{"introduced":"94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"},{"fixed":"a11ca2d1ff661ed37abb499e1fa37ab51324ca5a"},{"introduced":"8b359ad7a63cf219110bca80552fe3d4ea2a635d"},{"fixed":"b72ce02928c561588861d24330b2c3619f76d116"},{"introduced":"0ea3d45e04c3d54a3a472ddcb11606b30e227c50"},{"fixed":"b0a7bc3f42a0db2a0bf66b93623534f5f9af3294"},{"introduced":"ae4efa96ee8169a848c141ad21690165ea791552"},{"fixed":"97130393545528109fb8ce9d9e45e3f84fed3880"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.9.24"},{"introduced":"3.11.0"},{"fixed":"3.11.17"},{"introduced":"4.0.0"},{"fixed":"4.0.11"},{"introduced":"4.1.0"},{"fixed":"4.1.6"},{"introduced":"4.2.0"},{"fixed":"4.2.3"}]}}],"versions":["v3.11.0","v3.11.1","v3.11.10","v3.11.11","v3.11.12","v3.11.13","v3.11.14","v3.11.15","v3.11.16","v3.11.2","v3.11.3","v3.11.4","v3.11.5","v3.11.6","v3.11.7","v3.11.8","v3.11.9","v4.0.0","v4.0.1","v4.0.10","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.0-beta","v4.1.0-rc1","v4.1.0-rc2","v4.1.0-rc3","v4.1.1","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.2.0","v4.2.0-beta","v4.2.0-rc1","v4.2.0-rc2","v4.2.1","v4.2.2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"38"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5540.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}