Medium

Cross-Site Scripting in yui

  • Disclosed: 01.09.2020
  • Updated: 11.10.2026 10:22

Affected versions of yui are vulnerable to cross-site scripting in the uploader.swf and io.swf utilities, via script injection in the url.

Recommendation

YUI has published their recommendation to fix this issue. Their recommendation is to:

  • Delete self-hosted copies of these files if you are not using them
  • Use the Yahoo! CDN hosted files
  • Use the patched files provided on the YUI Library here.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package yui < 3.10.3 3.10.3

References

CVSS score -
Weakness (CWE)
CWE-79
Platform
npm
Package
yui
Disclosed
01.09.2020
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-mj87-8xf8-fp4w - CC BY 4.0

Vulnerability history: yui

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
09.2020 05.2022
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Medium 4

Disclosures per year

  1. 2020: 1
  2. 2021: 0
  3. 2022: 3
  4. 2023: 0
  5. 2024: 0
  6. 2025: 0
  7. 2026: 0
  1. Medium CVE-2013-4942 >= 3.2.0, <= 3.9.1 no fix
  2. Medium CVE-2013-4941 >= 3.2.0, <= 3.9.1 no fix
  3. Medium CVE-2013-4940 >= 3.0.0, < 3.10.11, >= 3.10.12, < 3.10.13 3.10.11, 3.10.13
  4. Cross-Site Scripting in yui this entry
    Medium CVE-2013-4939 < 3.10.3 3.10.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.