CVE-2019-17016 Cross-site scripting in Firefox

Medium 6.1 Published Updated

A CSS sanitizer flaw in Firefox allows attackers to inject code via pasted style tags, potentially leading to data exfiltration.

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-2019-17016?

CVE-2019-17016 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 8 Jan 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

When pasting a &lt;style&gt; tag from the clipboard into a rich text editor, the CSS sanitizer incorrectly rewrites a @namespace rule. This could allow for injection into certain types of websites resulting in data exfiltration. This vulnerability affects Firefox ESR < 68.4 and Firefox < 72.

Weakness: CWE-79

Which versions are affected by CVE-2019-17016?

It affects 9 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mozilla Firefox, Mozilla Firefox Esr, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 3 more.

How do I fix CVE-2019-17016?

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-2019-17016 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-17016, GHSA-w7r7-7cjm-rq4q, UBUNTU-CVE-2019-17016.

Is CVE-2019-17016 in your software?

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

Check your SBOMs for free