VDB
Sign up
MEDIUM5.4

GHSA-grvw-qq2j-r898

Moodle multiple cross-site scripting (XSS) vulnerabilities

Quick fix

GHSA-grvw-qq2j-r898 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.11

Details

Multiple cross-site scripting (XSS) vulnerabilities in the survey module in Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 allow remote authenticated users to inject arbitrary web script or HTML by leveraging the student role and entering a crafted survey answer.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.7.11
Fixcomposer require moodle/moodle:^2.7.11
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.9
Fixcomposer require moodle/moodle:^2.8.9
Packagist/moodle/moodle
Introduced in: 2.9.0Fixed in: 2.9.3
Fixcomposer require moodle/moodle:^2.9.3

References