VDB
Sign up
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.11

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/yui
Introduced in: 3.2.0

No fixed version published yet for yui (npm). Pin to a known-safe version or switch to an alternative.

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.2.11
Fixcomposer require moodle/moodle:^2.2.11
Packagist/moodle/moodle
Introduced in: 2.3.0Fixed in: 2.3.8
Fixcomposer require moodle/moodle:^2.3.8
Packagist/moodle/moodle
Introduced in: 2.4.0-rc1Fixed in: 2.4.5
Fixcomposer require moodle/moodle:^2.4.5
Packagist/moodle/moodle
Introduced in: 2.5.0-betaFixed in: 2.5.1
Fixcomposer require moodle/moodle:^2.5.1

References