ADVISORIES

GitHub Advisory Database

GHSA-97qf-pq7x-964m

Moodle Cross-site Scripting vulnerability

Details

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
All versions before 3.9.19 (fixed in 3.9.19)
Packagistmoodle/moodle
From 3.10.0 before 3.11.12 (fixed in 3.11.12)
Packagistmoodle/moodle
From 4.0.0-beta before 4.0.6 (fixed in 4.0.6)
Packagistmoodle/moodle
From 4.1.0-beta before 4.1.1 (fixed in 4.1.1)

References