CVE-2007-2870 Cross-site scripting in n/a
Remote attackers can bypass same-origin policy and execute scripts in the context of other sites via addEventListener, requiring user interaction.
- 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-2007-2870?
CVE-2007-2870 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 1 Jun 2007. 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 1.5.x before 1.5.0.12 and 2.x before 2.0.0.4, and SeaMonkey 1.0.9 and 1.1.2, allows remote attackers to bypass the same-origin policy and conduct cross-site scripting (XSS) and other attacks by using the addEventListener method to add an event listener for a site, which is executed in the context of that site.
Which versions are affected by CVE-2007-2870?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Seamonkey.
How do I fix CVE-2007-2870?
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-2007-2870 being exploited?
There is no known exploitation of CVE-2007-2870 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-462h-7vhv-4jpp.