# CVE-2023-5539: Moodle: authenticated remote code execution risk in lesson

- Severity: Medium 4.7 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.19%, higher than 82% of CVEs (2026-12-01)
- Published: 2023-11-09T19:11:06.859Z
- Modified: 2026-09-10T03:50:04.054Z
- Also known as: GHSA-3xxm-3g3c-w579, BIT-MOODLE-2023-5539
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

## Description

A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.

(As written by CVE List.)

## Affected

- moodle: from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.11.0 before 3.11.17; before 3.9.24
- moodle moodle: from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.11.0 before 3.11.17; before 3.9.24
- moodle/moodle (Packagist): before 4.3.0-rc2
- fedoraproject extra_packages_for_enterprise_linux: 7.0
- fedoraproject fedora: 38
- moodle (Bitnami): before 3.9.24; from 3.11.0 before 3.11.17; from 4.0.0 before 4.0.11; from 4.1.0 before 4.1.6; from 4.2.0 before 4.2.3

## Every score

- fedora: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408> (fix, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2243352> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=451580> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5539> (advisory, web)
- <https://github.com/moodle/moodle/commit/ba974a4add981743b5a37c5bcc4714c62f6052ce> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2023-5539](https://www.cve.org/CVERecord?id=CVE-2023-5539), CVE Terms of Use, modified 2024-09-03
- GitHub Advisory Database: [GHSA-3xxm-3g3c-w579](https://github.com/advisories/GHSA-3xxm-3g3c-w579), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-5539](https://nvd.nist.gov/vuln/detail/CVE-2023-5539), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-5539](https://osv.dev/vulnerability/BIT-MOODLE-2023-5539), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-5539 · Whole record: https://cve.day/CVE-2023-5539.json · Rebuilt by cve.day 2026-11-25T22:58:30.283Z
