MEDIUM5.4
GHSA-hjgc-jxjc-8v9j
Moodle reflected XSS via H5P error message
Quick fix
GHSA-hjgc-jxjc-8v9j — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.1.12Details
A flaw was found in moodle. H5P error messages require additional sanitizing to prevent a reflected cross-site scripting (XSS) risk.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
4.2.0-betaFixed in: 4.2.9Fix
composer require moodle/moodle:^4.2.9Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.6Fix
composer require moodle/moodle:^4.3.6Packagist/moodle/moodle
Introduced in:
4.4.0-betaFixed in: 4.4.2Fix
composer require moodle/moodle:^4.4.2