{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5539","id":"CVE-2023-5539","title":"Moodle: authenticated remote code execution risk in lesson","description":"A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.","descriptionLong":"A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.","published":"2023-11-09T19:11:06.859Z","updated":"2026-10-28T02:30:55.584363704Z","reserved":"2023-10-11T23:11:25.576Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"fedora"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"fedora"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"puiterwijk.org"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["moodle"],"affectedProducts":[{"vendor":"","product":"moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.2.0","lessThan":"4.2.3","versionType":"semver"},{"status":"affected","version":"4.1.0","lessThan":"4.1.6","versionType":"semver"},{"status":"affected","version":"4.0.0","lessThan":"4.0.11","versionType":"semver"},{"status":"affected","version":"3.11.0","lessThan":"3.11.17","versionType":"semver"},{"status":"affected","version":"0","lessThan":"3.9.24","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":["<4.3.0-rc2"],"fixed":["4.3.0-rc2"],"advisory":"GHSA-3xxm-3g3c-w579"}],"cwes":["CWE-94"],"aliases":["BIT-moodle-2023-5539","GHSA-3xxm-3g3c-w579"],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408","tags":["x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243352","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451580","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5539.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5539","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/ba974a4add981743b5a37c5bcc4714c62f6052ce","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.02189,"epssPercentile":0.82815,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5539","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5539","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5539","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3xxm-3g3c-w579","ok":true,"note":"GHSA-3xxm-3g3c-w579"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5539","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}