GitHub Advisory Database
GHSA-9ww8-j8j2-3788
YUI Cross-site Scripting (XSS) vulnerability
Details
Cross-site scripting (XSS) vulnerability in flashuploader.swf in the Uploader component in Yahoo! YUI 3.5.0 through 3.9.1, as used in Moodle through 2.1.10, 2.2.x before 2.2.11, 2.3.x before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.1, and other products, allows remote attackers to inject arbitrary web script or HTML via a crafted string in a URL.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | yui | From 3.2.0 up to and including 3.9.1 |
| Packagist | moodle/moodle | All versions before 2.2.11 (fixed in 2.2.11) |
| Packagist | moodle/moodle | From 2.3.0 before 2.3.8 (fixed in 2.3.8) |
| Packagist | moodle/moodle | From 2.4.0-rc1 before 2.4.5 (fixed in 2.4.5) |
| Packagist | moodle/moodle | From 2.5.0-beta before 2.5.1 (fixed in 2.5.1) |