CVE-2007-5947 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks in Firefox via jar URIs due to improper origin handling, 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-5947?
CVE-2007-5947 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 14 Nov 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
The jar protocol handler in Mozilla Firefox before 2.0.0.10 and SeaMonkey before 1.1.7 retrieves the inner URL regardless of its MIME type, and considers HTML documents within a jar archive to have the same origin as the inner URL, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a jar: URI.
Weakness: CWE-79
Which versions are affected by CVE-2007-5947?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Seamonkey.
How do I fix CVE-2007-5947?
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-5947 being exploited?
There is no known exploitation of CVE-2007-5947 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-2cph-6c7j-7mmc.