VDB
Sign up
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.19

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.9.19
Fixcomposer require moodle/moodle:^3.9.19
Packagist/moodle/moodle
Introduced in: 3.10.0Fixed in: 3.11.12
Fixcomposer require moodle/moodle:^3.11.12
Packagist/moodle/moodle
Introduced in: 4.0.0-betaFixed in: 4.0.6
Fixcomposer require moodle/moodle:^4.0.6
Packagist/moodle/moodle
Introduced in: 4.1.0-betaFixed in: 4.1.1
Fixcomposer require moodle/moodle:^4.1.1

References