CVE-2012-3985 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks in Firefox, Thunderbird, and SeaMonkey by exploiting HTML5 Same Origin Policy flaws.
- 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-3985?
CVE-2012-3985 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 10 Oct 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 before 16.0, Thunderbird before 16.0, and SeaMonkey before 2.13 do not properly implement the HTML5 Same Origin Policy, which allows remote attackers to conduct cross-site scripting (XSS) attacks by leveraging initial-origin access after document.domain has been set.
Weakness: CWE-79
Which versions are affected by CVE-2012-3985?
It affects 6 products.
Products include Canonical Ubuntu Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Suse Linux Enterprise Desktop, Suse Linux Enterprise Server.
How do I fix CVE-2012-3985?
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-3985 being exploited?
There is no known exploitation of CVE-2012-3985 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-h2cq-jrvg-h8x6.