{"id":"CVE-2024-43437","published":"2024-11-11T12:19:25Z","modified":"2025-03-13T14:04:35Z","title":"Moodle: xss risk when restoring malicious course backup file","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00541,"percentile":0.38996,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2304266","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=461207","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.8},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 4.1.12",">= 4.2, < 4.2.9",">= 4.3, < 4.3.6",">= 4.4, < 4.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-11T14:28:15.911800Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=4.4.0, <4.4.2",">=4.3.0, <4.3.6",">=4.2.0, <4.2.9","<4.1.12"],"patched":["4.4.2","4.3.6","4.2.9","4.1.12"],"from":["GHSA-4hjf-6pxr-549h"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) weakness in Moodle, where insufficient sanitization of data during the course restore process allows malicious content embedded in backup files to be rendered. An attacker can exploit it over the network without authentication by getting a user to interact, for example by having them restore a crafted course backup file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:44Z"},"euvd":{"id":"EUVD-2024-3194","exploited":false,"provenance":"source"}}