VDB
Sign up
MEDIUM6.1

GHSA-4w4j-9533-82qg

Moodle Cross-site Scripting (XSS)

Quick fix

GHSA-4w4j-9533-82qg — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.9.2

Details

A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.2
Fixcomposer require moodle/moodle:^3.9.2
Packagist/moodle/moodle
Introduced in: 3.8Fixed in: 3.8.5
Fixcomposer require moodle/moodle:^3.8.5
Packagist/moodle/moodle
Introduced in: 3.7Fixed in: 3.7.8
Fixcomposer require moodle/moodle:^3.7.8

References