CVE-2012-4210 Code injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary JavaScript with chrome privileges via crafted stylesheets in Firefox Style Inspector, 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-2012-4210?

CVE-2012-4210 is a critical code injection vulnerability in Mozilla Firefox, published on 21 Nov 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

The Style Inspector in Mozilla Firefox before 17.0 and Firefox ESR 10.x before 10.0.11 does not properly restrict the context of HTML markup and Cascading Style Sheets (CSS) token sequences, which allows user-assisted remote attackers to execute arbitrary JavaScript code with chrome privileges via a crafted stylesheet.

Weakness: CWE-264

Which versions are affected by CVE-2012-4210?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2012-4210?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2012-4210 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-vghf-6629-65jw.

Is CVE-2012-4210 in your software?

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

Check your SBOMs for free