VDB
Sign up
MEDIUM6.1

GHSA-gqrp-qhv8-phrv

Moodle Cross-site Scripting

Quick fix

GHSA-gqrp-qhv8-phrv — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.3.8

Details

moodle before versions 3.5.2, 3.4.5, 3.3.8 is vulnerable to a boost theme - blog search GET parameter insufficiently filtered. The breadcrumb navigation provided by Boost theme when displaying search results of a blog were insufficiently filtered, which could result in reflected XSS if a user followed a malicious link containing JavaScript in the search parameter.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.3Fixed in: 3.3.8
Fixcomposer require moodle/moodle:^3.3.8
Packagist/moodle/moodle
Introduced in: 3.4Fixed in: 3.4.5
Fixcomposer require moodle/moodle:^3.4.5
Packagist/moodle/moodle
Introduced in: 3.5Fixed in: 3.5.2
Fixcomposer require moodle/moodle:^3.5.2

References