VDB
Sign up
LOW

GHSA-75c6-xqwr-v2r9

Moodle cross-site scripting (XSS) vulnerability

Quick fix

GHSA-75c6-xqwr-v2r9 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.4.9

Details

Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.4.9
Fixcomposer require moodle/moodle:^2.4.9
Packagist/moodle/moodle
Introduced in: 2.5.0Fixed in: 2.5.5
Fixcomposer require moodle/moodle:^2.5.5
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.2
Fixcomposer require moodle/moodle:^2.6.2

References