VDB
Sign up
LOW

GHSA-6r7x-6q98-qcqp

Moodle does not set the RISK_XSS bit for graders

Quick fix

GHSA-6r7x-6q98-qcqp — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.6.11

Details

mod/quiz/db/access.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not set the RISK_XSS bit for graders, which allows remote authenticated users to conduct cross-site scripting (XSS) attacks via crafted gradebook feedback during manual quiz grading.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.6.11
Fixcomposer require moodle/moodle:^2.6.11
Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.8
Fixcomposer require moodle/moodle:^2.7.8
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.6
Fixcomposer require moodle/moodle:^2.8.6

References