VDB
Sign up
MEDIUM

GHSA-m63h-q4x3-6hwj

Moodle is vulnerable to Improper Input Validation in MoodleQuickForm class

Quick fix

GHSA-m63h-q4x3-6hwj — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.10

Details

The MoodleQuickForm class in `lib/formslib.php` in Moodle through 2.1.10, 2.2.x before 2.2.10, 2.3.x before 2.3.7, and 2.4.x before 2.4.4 does not properly handle a certain array-element syntax, which allows remote attackers to bypass intended form-data filtering via a crafted request.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.2.10
Fixcomposer require moodle/moodle:^2.2.10
Packagist/moodle/moodle
Introduced in: 2.3.0Fixed in: 2.3.7
Fixcomposer require moodle/moodle:^2.3.7
Packagist/moodle/moodle
Introduced in: 2.4.0Fixed in: 2.4.4
Fixcomposer require moodle/moodle:^2.4.4

References