VDB
Sign up
MEDIUM6.1

GHSA-6mxm-wpqv-675h

Moodle XSS from profile fields from external db

Quick fix

GHSA-6mxm-wpqv-675h — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.13

Details

Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allow remote attackers to inject arbitrary web script or HTML via an external DB profile field.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.7Fixed in: 2.7.13
Fixcomposer require moodle/moodle:^2.7.13
Packagist/moodle/moodle
Introduced in: 2.8Fixed in: 2.8.11
Fixcomposer require moodle/moodle:^2.8.11
Packagist/moodle/moodle
Introduced in: 2.9Fixed in: 2.9.5
Fixcomposer require moodle/moodle:^2.9.5
Packagist/moodle/moodle
Introduced in: 3.0Fixed in: 3.0.3
Fixcomposer require moodle/moodle:^3.0.3

References