Cross-Site Scripting in yui
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.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | yui | < 3.10.3 | 3.10.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4939
- https://lists.apache.org/thread.html/72837f969cdf9b63a7e7337edd069fa3b3950eea7c997cc2ff61aa0c@%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/d8b9403dbab85a51255614949938b619bd03b1c944c76c48c6996a0e@%3Cdev.zookeeper.apache.org%3E
- https://moodle.org/mod/forum/discuss.php?d=232496
- https://www.npmjs.com/advisories/332
- https://yuilibrary.com/support/20130515-vulnerability
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-39678
- http://yuilibrary.com/support/20130515-vulnerability
- 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
- 2020: 1
- 2021: 0
- 2022: 3
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Cross-Site Scripting in yui this entry
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.