VDB
Sign up
MEDIUM6.1

GHSA-gj2j-ppjq-9pjg

Moodle Cross-site scripting (XSS) vulnerability in course management search

Quick fix

GHSA-gj2j-ppjq-9pjg — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.8.10

Details

Cross-site scripting (XSS) vulnerability in the search_pagination function in course/classes/management_renderer.php in Moodle 2.8.x before 2.8.10, 2.9.x before 2.9.4, and 3.0.x before 3.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted search string.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.8Fixed in: 2.8.10
Fixcomposer require moodle/moodle:^2.8.10
Packagist/moodle/moodle
Introduced in: 2.9Fixed in: 2.9.4
Fixcomposer require moodle/moodle:^2.9.4
Packagist/moodle/moodle
Introduced in: 3.0Fixed in: 3.0.2
Fixcomposer require moodle/moodle:^3.0.2

References