VDB
Sign up
MEDIUM4.3

GHSA-3hmr-948v-5qgq

Moodle Cross-Site Request Forgery (CSRF)

Quick fix

GHSA-3hmr-948v-5qgq — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.2.3

Details

In Moodle 2.x and 3.x, a CSRF attack is possible that allows attackers to change the "number of courses displayed in the course overview block" configuration setting.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.2Fixed in: 3.2.3
Fixcomposer require moodle/moodle:^3.2.3
Packagist/moodle/moodle
Introduced in: 3.1Fixed in: 3.1.6
Fixcomposer require moodle/moodle:^3.1.6
Packagist/moodle/moodle
Introduced in: 3.0Fixed in: 3.0.10
Fixcomposer require moodle/moodle:^3.0.10
Packagist/moodle/moodle
Introduced in: 2.7Fixed in: 2.7.20
Fixcomposer require moodle/moodle:^2.7.20

References