Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

CVE-2013-4939 — yui

CVE-2013-4939 is a Cross-site Scripting (XSS) vulnerability in yui. A fix is available for yui — see the affected versions and patch details below.

Cross-Site Scripting in yui

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs73th percentile — riskier than 73% of all scored CVEsHighest risk
0.00%0.66%1.33%1.99%0.3%1.5%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

53other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
yuinpm
22Kdownloads / week

Description

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmyuiall versions3.10.3npm install yui@3.10.3

Affected Products

2 products · 58 configurations
Application
moodlemoodle
36 versions
2.1.02.1.12.1.22.1.32.1.42.1.52.1.62.1.72.1.82.1.92.1.102.2.0
Application
yuiyahoo
22 versions
3.0.03.1.03.1.13.1.23.2.03.3.03.4.03.4.13.5.03.5.13.6.03.7.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for yui, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update yui to 3.10.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-4939 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

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](https://yuilibrary.com/support/20130515-vulnerability/#resolution).
O3 Security · Impact-Aware SCA

Is CVE-2013-4939 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2013-4939: yui XSS — Fixed in 3.10.3