Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-43437 BIT-moodle-2024-43437EUVD-2024-3194GHSA-4hjf-6pxr-549h

Moodle: xss risk when restoring malicious course backup file

Published Nov 11, 2024 · Updated Mar 13, 2025 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle < 4.1.12, 4.2 – < 4.2.9, 4.3 – < 4.3.6, 4.4 – < 4.4.2 4.1.12

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 4.4.0, < 4.4.2 4.4.2 GHSA-4hjf-6pxr-549h
Packagist moodle/moodle >= 4.3.0, < 4.3.6 4.3.6 GHSA-4hjf-6pxr-549h
Packagist moodle/moodle >= 4.2.0, < 4.2.9 4.2.9 GHSA-4hjf-6pxr-549h
Packagist moodle/moodle < 4.1.12 4.1.12 GHSA-4hjf-6pxr-549h

Advisories 1

References