CVE-2023-5539
published medium CVSS 3.1 · 4.7Moodle: authenticated remote code execution risk in lesson
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle4.2.0 to < 4.2.3 · 4.1.0 to < 4.1.6 · 4.0.0 to < 4.0.11 · 3.11.0 to < 3.11.17 · 0 to < 3.9.24 · Other versions: unaffected | Affected | Not stated | fedora |
| moodle | — | moodle4.2.0 to < 4.2.3 · 4.1.0 to < 4.1.6 · 4.0.0 to < 4.0.11 · 3.11.0 to < 3.11.17 · 0 to < 3.9.24 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 4.2.0 to < 4.2.3 (affected · semver)4.1.0 to < 4.1.6 (affected · semver)4.0.0 to < 4.0.11 (affected · semver)3.11.0 to < 3.11.17 (affected · semver)0 to < 3.9.24 (affected · semver)Default: unaffected | fedora · cna | |
| moodle | moodle | 4.2.0 to < 4.2.3 (affected · semver)4.1.0 to < 4.1.6 (affected · semver)4.0.0 to < 4.0.11 (affected · semver)3.11.0 to < 3.11.17 (affected · semver)0 to < 3.9.24 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79408
- RHBZ#2243352 https://bugzilla.redhat.com/show_bug.cgi?id=2243352
- https://moodle.org/mod/forum/discuss.php?d=451580
Provider assertions
3fedora · cna
Moodle: authenticated remote code execution risk in lesson
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8306c968cccaca6f462bd3a5006ee20254ee054b97fa7ed04c50a54845f5d9c2
- Ingested
- 23 Sep 2026, 08:15:31 UTC
- Source record
- Official CVE record