VDB
Sign up
MEDIUM5.4

GHSA-xhfx-rm8q-c3xv

Moodle Vulnerable to Reflected Cross-site Scripting

Quick fix

GHSA-xhfx-rm8q-c3xv — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.0.0-beta

Details

It was found in Moodle before version 4.0.0-beta that some search inputs were vulnerable to reflected Cross-site Scripting (XSS) due to insufficient escaping of search queries.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.10Fixed in: 4.0.0-beta
Fixcomposer require moodle/moodle:^4.0.0-beta

References