MEDIUM6.1
GHSA-grmj-gpwm-98ww
Moodle Cross-site Scripting vulnerability
Quick fix
GHSA-grmj-gpwm-98ww — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.0.6Details
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in blog search. 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:
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