CVE-2020-15676 Cross-site scripting in Firefox

Medium 6.1 Published Updated

Attackers can execute JavaScript by pasting malicious data into contenteditable elements due to improper DOM sanitization in Firefox.

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-2020-15676?

CVE-2020-15676 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 1 Oct 2020. 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

Firefox sometimes ran the onload handler for SVG elements that the DOM sanitizer decided to remove, resulting in JavaScript being executed after pasting attacker-controlled data into a contenteditable element. This vulnerability affects Firefox < 81, Thunderbird < 78.3, and Firefox ESR < 78.3.

Weakness: CWE-79

Which versions are affected by CVE-2020-15676?

It affects 5 products.

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

How do I fix CVE-2020-15676?

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-2020-15676 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-15676, GHSA-m5jf-7x3g-f295, UBUNTU-CVE-2020-15676.

Is CVE-2020-15676 in your software?

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

Check your SBOMs for free