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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-17017Due to a missing case handling object types, a type confusio…8.8
- CVE-2019-17018When in Private Browsing Mode on Windows 10, the Windows key…5.3
- CVE-2019-17019When Python was installed on Windows, a python file being se…8.8
- CVE-2019-1702Multiple vulnerabilities in the web-based management interfa…6.1
- CVE-2019-17020If an XML file is served with a Content Security Policy and …6.5
- CVE-2019-17021During the initialization of a new content process, a race c…5.3
- CVE-2019-17023After a HelloRetryRequest has been sent, the client may nego…6.5
- CVE-2019-17024Mozilla developers reported memory safety bugs present in Fi…8.8
- CVE-2019-17025Mozilla developers reported memory safety bugs present in Fi…8.8
- CVE-2019-17026Incorrect alias information in IonMonkey JIT compiler for se…8.8
- CVE-2019-17027Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2019-17028Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
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
