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
- Updated
- Reserved
- Assigned by
- mozilla
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.0% · top 19% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- CSS sanitization does not escape HTML tags
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
- affected before 68.4
- affected before 72
References (25)
- https://bugzilla.mozilla.org/show_bug.cgi?id=1602843 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.mozilla.org/security/advisories/mfsa2020-01/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.mozilla.org/security/advisories/mfsa2020-02/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20200109 [SECURITY] [DSA 4600-1] firefox-esr security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [debian-lts-announce] 20200109 [SECURITY] [DLA 2061-1] firefox-esr security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4600 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- USN-4234-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20200112 [slackware-security] mozilla-thunderbird (SSA:2020-010-01) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2020:0085 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0086 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://packetstormsecurity.com/files/155912/Slackware-Security-Advisory-mozilla-thunderbird-Updates.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2020:0111 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2020:0060 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2020:0120 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0123 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0127 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-4241-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-4603 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20200120 [SECURITY] [DSA 4603-1] thunderbird security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [debian-lts-announce] 20200120 [SECURITY] [DLA 2071-1] thunderbird security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2020:0094 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2020:0292 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0295 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-202003-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- USN-4335-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-17022)Record last updated .