ADVISORIES

GitHub Advisory Database

GHSA-hhxf-w8hj-43w6

Moodle vulnerable to Cross-site Scripting

Details

Cross-site scripting (XSS) vulnerability in the fix_non_standard_entities function in the KSES HTML text cleaning library (weblib.php), as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via crafted HTML entities.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
From 1.8.0 before 1.8.12 (fixed in 1.8.12)
Packagistmoodle/moodle
From 1.9.0 before 1.9.8 (fixed in 1.9.8)

References