Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-20186 BIT-moodle-2021-20186EUVD-2022-4109GHSA-h8m4-h385-qhqv

Moodle Cross-site Scripting

Published Jan 28, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled, additional sanitizing of TeX content was required to prevent the risk of stored XSS.

Affected products

VendorProductAffectedFixed
— moodle moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16 —

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 >= 3.10, < 3.10.1 3.10.1 GHSA-h8m4-h385-qhqv
Packagist moodle/moodle >= 3.9, < 3.9.4 3.9.4 GHSA-h8m4-h385-qhqv
Packagist moodle/moodle >= 3.8, < 3.8.7 3.8.7 GHSA-h8m4-h385-qhqv
Packagist moodle/moodle >= 3.5, < 3.5.16 3.5.16 GHSA-h8m4-h385-qhqv

References