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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mozilla

Published: 2020-01-08T21:30:09

Updated: 2024-08-05T01:24:48.712Z

Reserved: 2019-09-30T00:00:00

Link: CVE-2019-17022

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-01-08T22:15:12.730

Modified: 2024-11-21T04:31:33.833

Link: CVE-2019-17022

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-01-07T00:00:00Z

Links: CVE-2019-17022 - Bugzilla