CVE-2024-43437
5.4medium
Moodle: xss risk when restoring malicious course backup file
- Severity
- 5.4medium CVSS:3.1 by fedora
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-4hjf-6pxr-549hBIT-MOODLE-2024-43437
Description
A flaw was found in moodle. Insufficient sanitizing of data when performing a restore could result in a cross-site scripting (XSS) risk from malicious backup files.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | before 4.1.12, from 4.2 before 4.2.9, from 4.3 before 4.3.6, from 4.4 before 4.4.2 | CVE List |
| moodle/moodle (Packagist) | from 4.4.0 before 4.4.2, from 4.3.0 before 4.3.6, from 4.2.0 before 4.2.9, before 4.1.12 | GitHub Advisory Database |
| moodle moodle | before 4.1.12, from 4.2.0 before 4.2.9, from 4.3.0 before 4.3.6, from 4.4.0 before 4.4.2 | NVD |
| moodle (Bitnami) | before 4.1.12, from 4.2.0 before 4.2.9, from 4.3.0 before 4.3.6, from 4.4.0 before 4.4.2 | Bitnami Vulnerability Database |
All scores
| fedora | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 5.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in moodle. Insufficient sanitizing of data when performing a restore could result in a cross-site scripting (XSS) risk from malicious backup files.
NVD (es)
Se encontró una falla en Moodle. Una desinfección insuficiente de los datos al realizar una restauración podría generar un riesgo de Cross Site Scripting (XSS) a partir de archivos de respaldo maliciosos.
References
| https://bugzilla.redhat.com/show_bug.cgi?id=2304266 | issue-tracking, permissions-required, web | |
| https://moodle.org/mod/forum/discuss.php?d=461207 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-43437 | advisory, web | |
| https://github.com/moodle/moodle | package | |
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-81394 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43437 changed 2025-03-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4hjf-6pxr-549h changed 2025-04-24 | CC-BY-4.0 |
| NVD | CVE-2024-43437 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2024-43437 changed 2026-09-08 | Apache-2.0 |