CVE-2019-17022

When pasting a <style> tag from the clipboard into a rich text editor, the CSS sanitizer does not escape < and > characters

published January 8, 2020

CVSS
—
EPSS
2%
Percentile
80.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01988 · 80.5th percentile
Published
2020-01-08T21:30Z
EPSS history
Timeline
  • 08 JAN 21:30Z
    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
    cvelistv5