VDB
Sign up
MEDIUM5.4

GHSA-356g-7x36-7m34

Moodle CSRF risks due to misuse of confirm_sesskey

Quick fix

GHSA-356g-7x36-7m34 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.4.1

Details

Incorrect CSRF token checks resulted in multiple CSRF risks.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.1
Fixcomposer require moodle/moodle:^4.4.1
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.5
Fixcomposer require moodle/moodle:^4.3.5
Packagist/moodle/moodle
Introduced in: 4.2.0-betaFixed in: 4.2.8
Fixcomposer require moodle/moodle:^4.2.8
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.11
Fixcomposer require moodle/moodle:^4.1.11

References