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

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks via crafted websites due to improper write action restrictions in cross-origin wrappers.

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

CVE-2012-5841 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

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 implement cross-origin wrappers with a filtering behavior that does not properly restrict write actions, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted web site.

Weakness: CWE-79

Which versions are affected by CVE-2012-5841?

It affects 13 products.

Products include Canonical Ubuntu Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr, Opensuse Opensuse and 7 more.

How do I fix CVE-2012-5841?

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-5841 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-gw44-5pc8-vhfq.

Is CVE-2012-5841 in your software?

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

Check your SBOMs for free