VDB
Sign up
MEDIUM5.4

GHSA-4r2p-wpv5-683w

Moodle XSS Vulnerability

Quick fix

GHSA-4r2p-wpv5-683w — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.6.2

Details

A flaw was found in Moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The 'manage groups' capability did not have the 'XSS risk' flag assigned to it, but does have that access in certain places. Note that the capability is intended for use by trusted users, and is only assigned to teachers and managers by default.

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.2
Fixcomposer require moodle/moodle:^3.6.2
Packagist/moodle/moodle
Introduced in: 3.5.0Fixed in: 3.5.4
Fixcomposer require moodle/moodle:^3.5.4
Packagist/moodle/moodle
Introduced in: 3.2.0Fixed in: 3.4.7
Fixcomposer require moodle/moodle:^3.4.7
Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.1.16
Fixcomposer require moodle/moodle:^3.1.16

References