Vulnerability · Published Nov 11, 2024 · Assigned by fedora

CVE-2024-43437Moodle: xss risk when restoring malicious course backup file

Medium 5.4

In plain English

A medium-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 73.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.4.2GHSA-4hjf-6pxr-549h
Packagistmoodle/moodle4.3.6GHSA-4hjf-6pxr-549h
Packagistmoodle/moodle4.2.9GHSA-4hjf-6pxr-549h
Packagistmoodle/moodle4.1.12GHSA-4hjf-6pxr-549h

Affected products (as reported)

VendorProductVersions
moodle 0 – before 4.1.124.2 – before 4.2.94.3 – before 4.3.64.4 – before 4.4.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References