Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-32475 BIT-moodle-2021-32475EUVD-2022-1331GHSA-5wjh-v7c8-wrhx

Moodle stored Cross-site Scripting

Published Mar 11, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.

Affected products

VendorProductAffectedFixed
— moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 —

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.5, < 3.5.18 3.5.18 GHSA-5wjh-v7c8-wrhx
Packagist moodle/moodle >= 3.8, < 3.8.9 3.8.9 GHSA-5wjh-v7c8-wrhx
Packagist moodle/moodle >= 3.9, < 3.9.7 3.9.7 GHSA-5wjh-v7c8-wrhx
Packagist moodle/moodle >= 3.10, < 3.10.4 3.10.4 GHSA-5wjh-v7c8-wrhx

References