CVE-2021-43543 Cross-site scripting in Firefox

Medium 6.1 Published Updated

Attackers can bypass CSP sandbox restrictions to execute scripts in Firefox and Thunderbird, potentially compromising user sessions.

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-2021-43543?

CVE-2021-43543 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 8 Dec 2021. 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

Documents loaded with the CSP sandbox directive could have escaped the sandbox's script restriction by embedding additional content. This vulnerability affects Thunderbird < 91.4.0, Firefox ESR < 91.4.0, and Firefox < 95.

Weakness: CWE-79

Which versions are affected by CVE-2021-43543?

It affects 4 products.

Products include Debian Debian Linux, Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2021-43543?

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-2021-43543 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-43543, GHSA-6257-2grx-5hjf, UBUNTU-CVE-2021-43543.

Is CVE-2021-43543 in your software?

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

Check your SBOMs for free