CVE-2012-4207 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks in Mozilla Firefox via crafted documents exploiting HZ-GB-2312 character set handling.

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-4207?

CVE-2012-4207 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, 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 HZ-GB-2312 character-set implementation in Mozilla Firefox before 17.0, Firefox ESR 10.x before 10.0.11, Thunderbird before 17.0, Thunderbird ESR 10.x before 10.0.11, and SeaMonkey before 2.14 does not properly handle a ~ (tilde) character in proximity to a chunk delimiter, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted document.

Weakness: CWE-79

Which versions are affected by CVE-2012-4207?

It affects 14 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr and 8 more.

How do I fix CVE-2012-4207?

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-2012-4207 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-jprg-6jgr-c6j9.

Is CVE-2012-4207 in your software?

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

Check your SBOMs for free