Vulnerability Description
When pasting a <style> tag from the clipboard into a rich text editor, the CSS sanitizer does not escape < and > 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | < 72.0 |
| Mozilla | Firefox Esr | < 68.4 |
| Canonical | Ubuntu Linux | 16.04 |
| Debian | Debian Linux | 8.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server Aus | 7.7 |
| Redhat | Enterprise Linux Server Tus | 7.7 |
| Redhat | Enterprise Linux Workstation | 6.0 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00043.html
- http://packetstormsecurity.com/files/155912/Slackware-Security-Advisory-mozilla-
- https://access.redhat.com/errata/RHSA-2020:0085Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0086Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0111
- https://access.redhat.com/errata/RHSA-2020:0120
- https://access.redhat.com/errata/RHSA-2020:0123
- https://access.redhat.com/errata/RHSA-2020:0127
- https://access.redhat.com/errata/RHSA-2020:0292
- https://access.redhat.com/errata/RHSA-2020:0295
- https://bugzilla.mozilla.org/show_bug.cgi?id=1602843Permissions Required
- https://lists.debian.org/debian-lts-announce/2020/01/msg00005.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/01/msg00016.html
- https://seclists.org/bugtraq/2020/Jan/12Mailing ListThird Party Advisory
FAQ
What is CVE-2019-17022?
CVE-2019-17022 is a vulnerability with a CVSS score of 6.1 (MEDIUM). When pasting a <style> tag from the clipboard into a rich text editor, the CSS sanitizer does not escape < and > characters. Because the resulting string is pasted directly into the text n...
How severe is CVE-2019-17022?
CVE-2019-17022 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-17022?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Firefox, Mozilla Firefox Esr, Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop.