CVE-2010-1585 Cross-site scripting in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary JavaScript with chrome privileges via crafted HTML input in Mozilla Firefox, Thunderbird, and SeaMonkey.

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-2010-1585?

CVE-2010-1585 is a critical cross-site scripting vulnerability in Mozilla Firefox, published on 28 Apr 2010. 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 nsIScriptableUnescapeHTML.parseFragment method in the ParanoidFragmentSink protection mechanism in Mozilla Firefox before 3.5.17 and 3.6.x before 3.6.14, Thunderbird before 3.1.8, and SeaMonkey before 2.0.12 does not properly sanitize HTML in a chrome document, which makes it easier for remote attackers to execute arbitrary JavaScript with chrome privileges via a javascript: URI in input to an extension, as demonstrated by a javascript:alert sequence in (1) the HREF attribute of an A element or (2) the ACTION attribute of a FORM element.

Weakness: CWE-20

Which versions are affected by CVE-2010-1585?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird.

How do I fix CVE-2010-1585?

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-2010-1585 being exploited?

There is no known exploitation of CVE-2010-1585 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-xp93-22jw-4857.

Is CVE-2010-1585 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free