VDB
Sign up
MEDIUM6.1

GHSA-f7qm-q26p-6rr2

Moodle cross-site scripting (XSS) vulnerability

Quick fix

GHSA-f7qm-q26p-6rr2 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.9

Details

Cross-site scripting (XSS) vulnerability in the user_get_user_details function in user/lib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to inject arbitrary web script or HTML by leveraging absence of an external_format_text call in a web service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.9
Fixcomposer require moodle/moodle:^2.7.9
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.7
Fixcomposer require moodle/moodle:^2.8.7
Packagist/moodle/moodle
Introduced in: 2.9.0Fixed in: 2.9.1
Fixcomposer require moodle/moodle:^2.9.1

References