VDB
Sign up
LOW

GHSA-cp39-43xr-2wrp

Moodle XSS Vulnerability

Quick fix

GHSA-cp39-43xr-2wrp — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.6.9

Details

Multiple cross-site scripting (XSS) vulnerabilities in lib/javascript-static.js in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) alt or (2) title attribute in an IMG element.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0

No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.

Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.9
Fixcomposer require moodle/moodle:^2.6.9
Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.6
Fixcomposer require moodle/moodle:^2.7.6
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.4
Fixcomposer require moodle/moodle:^2.8.4

References