CVE-2012-0474 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML into Mozilla Firefox, Thunderbird, and SeaMonkey via short-circuited page loads, enabling universal cross-site scripting.
- 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-0474?
CVE-2012-0474 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 25 Apr 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 docshell implementation in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4, Thunderbird 5.0 through 11.0, Thunderbird ESR 10.x before 10.0.4, and SeaMonkey before 2.9 allows remote attackers to inject arbitrary web script or HTML via vectors related to short-circuited page loads, aka "Universal XSS (UXSS)."
Weakness: CWE-79
Which versions are affected by CVE-2012-0474?
It affects 4 products.
Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr.
How do I fix CVE-2012-0474?
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-0474 being exploited?
There is no known exploitation of CVE-2012-0474 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-66r3-h3v8-4pjm.