HIGH8.8
GHSA-xvmh-25jw-gmmm
Moodle affected by a code injection vulnerability
Quick fix
GHSA-xvmh-25jw-gmmm — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^5.1.1Details
A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
5.1.0-betaFixed in: 5.1.1Fix
composer require moodle/moodle:^5.1.1Packagist/moodle/moodle
Introduced in:
5.0.0-betaFixed in: 5.0.4Fix
composer require moodle/moodle:^5.0.4Packagist/moodle/moodle
Introduced in:
4.5.0-betaFixed in: 4.5.8Fix
composer require moodle/moodle:^4.5.8Packagist/moodle/moodle
Introduced in:
4.2.0-betaFixed in: 4.4.12Fix
composer require moodle/moodle:^4.4.12