CVE-2006-2785 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML into Mozilla Firefox via crafted image or frame sources, 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-2006-2785?
CVE-2006-2785 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 2 Jun 2006. 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 Mozilla Firefox before 1.5.0.4 allows user-assisted remote attackers to inject arbitrary web script or HTML by tricking a user into (1) performing a "View Image" on a broken image in which the SRC attribute contains a Javascript URL, or (2) selecting "Show only this frame" on a frame whose SRC attribute contains a Javascript URL.
Which versions are affected by CVE-2006-2785?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2006-2785?
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-2006-2785 being exploited?
There is no known exploitation of CVE-2006-2785 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-g55j-rqcq-fhgc.