XSS in Mozilla Firefox
CVE-2019-17022
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.020, 81.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mozilla Firefox — versions before 72
- Mozilla Firefox Esr — versions before 68.4
- Mozilla Firefox Esr
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.04
- Debian Linux — versions 8.0, 9.0, 10.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.7
- Red Hat Enterprise Linux Server Tus — versions 7.7
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
References
- bugzilla.mozilla.org/show_bug.cgi (Permissions Required)
- www.mozilla.org/security/advisories/mfsa2020-01/ (Vendor Advisory)
- www.mozilla.org/security/advisories/mfsa2020-02/ (Vendor Advisory)
- 20200109 [SECURITY] [DSA 4600-1] firefox-esr security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20200109 [SECURITY] [DLA 2061-1] firefox-esr security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4600 (vendor-advisory, Third Party Advisory)
- USN-4234-1 (vendor-advisory, Third Party Advisory)
- 20200112 [slackware-security] mozilla-thunderbird (SSA:2020-010-01) (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2020:0085 (vendor-advisory, Third Party Advisory)
- RHSA-2020:0086 (vendor-advisory, Third Party Advisory)