Skip to content
OpenAdvisories
Medium · 6.1 Scanner template CVE-2021-32478 BIT-moodle-2021-32478EUVD-2022-1356GHSA-78fm-qhh8-8858

Moodle reflected XSS

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

Description

The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 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 —

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 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 3.10, < 3.10.4 3.10.4 GHSA-78fm-qhh8-8858
Packagist moodle/moodle >= 3.9, < 3.9.7 3.9.7 GHSA-78fm-qhh8-8858
Packagist moodle/moodle >= 3.8, < 3.8.9 3.8.9 GHSA-78fm-qhh8-8858

References