CVE-2012-5881: Cross-site scripting in yui 2.4.0
4.3
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.54931%
CWE
Published
5/17/2022
Updated
1/9/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
yui2 | npm | >= 2.4.0, <= 2.9.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure Flash components (charts.swf and others) that allow XSS through improper input handling. However:
- The advisory specifically references compiled SWF files rather than JavaScript/TypeScript source code
- No actual function names or source code patches are disclosed in the provided materials
- SWF files are binary artifacts where function names would require decompilation to identify
- The YUI security bulletin focuses on file replacement rather than code changes Without access to the original ActionScript source code or decompiled SWF analysis, we cannot confidently name specific vulnerable functions - only identify the vulnerable Flash components at the file level.