VDB
Sign up
MEDIUM

GHSA-h9w8-4376-j344

Moodle does not properly validate module instance id

Quick fix

GHSA-h9w8-4376-j344 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.6.2

Details

Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 1.6.2
Fixcomposer require moodle/moodle:^1.6.2

References