VDB
Sign up
HIGH7.3

GHSA-p7v9-gjrh-563x

Moodle XSS Vulnerability

Quick fix

GHSA-p7v9-gjrh-563x — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.5.1

Details

A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.5.0Fixed in: 3.5.1
Fixcomposer require moodle/moodle:^3.5.1
Packagist/moodle/moodle
Introduced in: 3.4.0Fixed in: 3.4.4
Fixcomposer require moodle/moodle:^3.4.4
Packagist/moodle/moodle
Introduced in: 3.3.0Fixed in: 3.3.7
Fixcomposer require moodle/moodle:^3.3.7
Packagist/moodle/moodle
Introduced in: 3.2.0Fixed in: 3.2.10
Fixcomposer require moodle/moodle:^3.2.10
Packagist/moodle/moodle
Introduced in: 3.1.0Fixed in: 3.1.13
Fixcomposer require moodle/moodle:^3.1.13

References