CVE-2019-17022

Mozilla: CSS sanitization does not escape HTML tags

Published Jan 8, 2020 CVSS 3.1 · 6.1 Medium EPSS 2.0% KEV · Not listed
Description
When pasting a &lt;style&gt; tag from the clipboard into a rich text editor, the CSS sanitizer does not escape &lt; and &gt; characters. Because the resulting string is pasted directly into the text node of the element this does not result in a direct injection into the webpage; however, if a webpage subsequently copies the node's innerHTML, assigning it to another innerHTML, this would result in an XSS vulnerability. Two WYSIWYG editors were identified with this behavior, more may exist. This vulnerability affects Firefox ESR < 68.4 and Firefox < 72.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2061-1 firefox-esr security update
Debian DLA Debian DLA DLA-2071-1 thunderbird security update
Debian DSA Debian DSA DSA-4600-1 firefox-esr security update
Debian DSA Debian DSA DSA-4603-1 thunderbird security update
EUVD EUVD EUVD-2019-7496 When pasting a &lt;style&gt; tag from the clipboard into a rich text editor, the CSS sanitizer does not escape &lt; and &gt; characters. Because the resulting string is pasted directly into the text node of the element this does not result in a direct injection into the webpage; however, if a webpage subsequently copies the node's innerHTML, assigning it to another innerHTML, this would result in an XSS vulnerability. Two WYSIWYG editors were identified with this behavior, more may exist. This vulnerability affects Firefox ESR < 68.4 and Firefox < 72.
Ubuntu USN Ubuntu USN USN-4234-1 Firefox vulnerabilities
Ubuntu USN Ubuntu USN USN-4241-1 Thunderbird vulnerabilities
Ubuntu USN Ubuntu USN USN-4335-1 Thunderbird vulnerabilities
History

No history.