VDB
Sign up
MEDIUM6.1

GHSA-5xp2-rv4h-mm2q

Moodle Open Redirect Vulnerability

Quick fix

GHSA-5xp2-rv4h-mm2q — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.6.4

Details

A flaw was found in Moodle before 3.7, 3.6.4, 3.5.6, 3.4.9 and 3.1.18. The form to upload cohorts contained a redirect field, which was not restricted to internal URLs.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.6.0Fixed in: 3.6.4
Fixcomposer require moodle/moodle:^3.6.4
Packagist/moodle/moodle
Introduced in: 3.5.0Fixed in: 3.5.6
Fixcomposer require moodle/moodle:^3.5.6
Packagist/moodle/moodle
Introduced in: 3.4.0Fixed in: 3.4.9
Fixcomposer require moodle/moodle:^3.4.9
Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.1.18
Fixcomposer require moodle/moodle:^3.1.18

References