VDB
Sign up
MEDIUM5.3

GHSA-wm4w-8vc6-2j4h

Moodle XSS Vulnerability

Quick fix

GHSA-wm4w-8vc6-2j4h — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.6.1

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 /userpix/ page did not escape users' full names, which are included as text when hovering over profile images. Note this page is not linked to by default and its access is restricted.

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.1
Fixcomposer require moodle/moodle:^3.6.1
Packagist/moodle/moodle
Introduced in: 3.5.0Fixed in: 3.5.3
Fixcomposer require moodle/moodle:^3.5.3
Packagist/moodle/moodle
Introduced in: 3.4.0Fixed in: 3.4.6
Fixcomposer require moodle/moodle:^3.4.6
Packagist/moodle/moodle
Introduced in: 3.1.0Fixed in: 3.1.15
Fixcomposer require moodle/moodle:^3.1.15

References