CVE-2012-5881 Cross-site scripting in yui 2.4.0
Remote attackers can inject arbitrary web script or HTML via the Flash component infrastructure in YUI, requiring user interaction to execute.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-5881?
CVE-2012-5881 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Nov 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the Flash component infrastructure in YUI 2.4.0 through 2.9.0 allows remote attackers to inject arbitrary web script or HTML via vectors related to charts.swf, a similar issue to CVE-2010-4207.
Weakness: CWE-79
Which versions are affected by CVE-2012-5881?
2 open source packages ship an affected version, including yui2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yui2 npm | From 2.4.0 to 2.9.0 | None |
yui2 npm | From 2.4.0 to 2.9.0 | None |
Products include Yahoo Yui.
How do I fix CVE-2012-5881?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2012-5881 being exploited?
There is no known exploitation of CVE-2012-5881 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as CLSA-2026-1773965916, CVE-2012-5475, GHSA-jjg9-mf63-vqrp.