ADVISORIES

GitHub Advisory Database

GHSA-9fmw-m4qx-6cq8

Moodle cross-site scripting (XSS) vulnerability

Details

Cross-site scripting (XSS) vulnerability in the external_format_text function in lib/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 allows remote authenticated users to inject arbitrary web script or HTML into an external application via a crafted string that is visible to web services.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
All versions before 2.6.11 (fixed in 2.6.11)
Packagistmoodle/moodle
From 2.7.0 before 2.7.8 (fixed in 2.7.8)
Packagistmoodle/moodle
From 2.8.0 before 2.8.6 (fixed in 2.8.6)

References