MEDIUM
GHSA-9ww8-j8j2-3788
YUI Cross-site Scripting (XSS) vulnerability
Quick fix
GHSA-9ww8-j8j2-3788 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.2.11Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/yui
Introduced in:
3.2.0No fixed version published yet for yui (npm). Pin to a known-safe version or switch to an alternative.
Packagist/moodle/moodle
Introduced in:
2.4.0-rc1Fixed in: 2.4.5Fix
composer require moodle/moodle:^2.4.5Packagist/moodle/moodle
Introduced in:
2.5.0-betaFixed in: 2.5.1Fix
composer require moodle/moodle:^2.5.1