MEDIUM6.1
GHSA-97qf-pq7x-964m
Moodle Cross-site Scripting vulnerability
Quick fix
GHSA-97qf-pq7x-964m — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.9.19Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
3.10.0Fixed in: 3.11.12Fix
composer require moodle/moodle:^3.11.12Packagist/moodle/moodle
Introduced in:
4.0.0-betaFixed in: 4.0.6Fix
composer require moodle/moodle:^4.0.6Packagist/moodle/moodle
Introduced in:
4.1.0-betaFixed in: 4.1.1Fix
composer require moodle/moodle:^4.1.1