CVE-2024-43437
MEDIUM 6.1CVSS 3.1Moodle Cross-site Scripting vulnerability
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.
- Published
- 11 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- BIT-moodle-2024-43437GHSA-4hjf-6pxr-549h
- Sources
- NVDJSONOSV GHSA-4hjf-6pxr-549hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 4.1.12 | 4.1.12 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.9 | 4.2.9 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.6 | 4.3.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.2 | 4.4.2 |
| OSV | Packagist | moodle/moodle | >= 4.4.0, < 4.4.2 | 4.4.2 |
| OSV | Packagist | moodle/moodle | >= 4.3.0, < 4.3.6 | 4.3.6 |
| OSV | Packagist | moodle/moodle | >= 4.2.0, < 4.2.9 | 4.2.9 |
| OSV | Packagist | moodle/moodle | < 4.1.12 | 4.1.12 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2304266 · Permissions Required, WEB
- https://moodle.org/mod/forum/discuss.php?d=461207 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43437 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-81394 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 11 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Nov 2024)