CVE-2019-17022
Last modified
CVE-2019-17022 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 1.99% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | < 72.0 |
| Mozilla | Firefox Esr | < 68.4 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 19.04 |
| Canonical | Ubuntu Linux | 19.10 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.7 |
| Redhat | Enterprise Linux Server Tus | 7.7 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
References
- https://access.redhat.com/errata/RHSA-2020:0085Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0086Third Party Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1602843Permissions Required
- https://lists.debian.org/debian-lts-announce/2020/01/msg00005.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/12Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/18Mailing List, Third Party Advisory
- https://usn.ubuntu.com/4234-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4600Third Party Advisory
- https://www.mozilla.org/security/advisories/mfsa2020-01/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2020-02/Vendor Advisory
- https://access.redhat.com/errata/RHSA-2020:0085Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0086Third Party Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1602843Permissions Required
- https://lists.debian.org/debian-lts-announce/2020/01/msg00005.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/12Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/18Mailing List, Third Party Advisory
- https://usn.ubuntu.com/4234-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4600Third Party Advisory
- https://www.mozilla.org/security/advisories/mfsa2020-01/Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2020-02/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-17022?
How severe is CVE-2019-17022?
How do I fix CVE-2019-17022?
Are you affected by CVE-2019-17022?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
