CVE-2012-1966 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks in Mozilla Firefox via crafted data URLs due to missing context-menu restrictions.
- 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-1966?
CVE-2012-1966 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 18 Jul 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
Mozilla Firefox 4.x through 13.0 and Firefox ESR 10.x before 10.0.6 do not have the same context-menu restrictions for data: URLs as for javascript: URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL.
Weakness: CWE-264
Which versions are affected by CVE-2012-1966?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2012-1966?
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-1966 being exploited?
There is no known exploitation of CVE-2012-1966 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-fgj8-79hw-hmwq.