VDB
Sign up
MEDIUM

GHSA-3gm8-32vv-q8mp

Moodle Cross-site Scripting vulnerability in the KSES text cleaning filter

Quick fix

GHSA-3gm8-32vv-q8mp — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.8.13

Details

The KSES text cleaning filter in lib/weblib.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 does not properly handle vbscript URIs, which allows remote authenticated users to conduct cross-site scripting (XSS) attacks via HTML input.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 1.8.13
Fixcomposer require moodle/moodle:^1.8.13
Packagist/moodle/moodle
Introduced in: 1.9.0Fixed in: 1.9.9
Fixcomposer require moodle/moodle:^1.9.9

References