Mozilla Bleach vulnerabilities

7 vulnerabilities

Known vulnerabilities in Mozilla Bleach, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-145193mozilla · bleach +1 moreMozilla Bleach through 6.4.0 ReDoS via linkify() URL_REMozilla Bleach through 6.4.0 contains an inefficient regular expression vulnerability in the URL_RE pattern used by linkify() that allows remote attackers to cause denial of service through quadratic backtracking. Attackers can submit long text containing runs of word characters without a valid URL to consume seconds of CPU per call and tie up worker processes.CVSS6.9MediumRoutineCVE-2026-145194mozilla · bleach +2 moreMozilla Bleach through 6.4.0 URI Scheme Sanitization Bypass via Object Data AttributeBleach through 6.4.0 contains a cross-site scripting vulnerability because clean() omits URI protocol sanitization for the object data attribute and legacy codebase, classid, code, and archive attributes. When applications allow the object tag with data, attackers can supply javascript:, data:text/html, or file: URIs that bypass allowed protocols, loading attacker-controlled content for victims.CVSS4.7MediumRoutineCVE-2021-23980mozilla · mozilla bleach +7 moremozilla mozilla bleachA mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.CVSS6.1MediumEPSS0.49%PrioritiseCVE-2020-6817mozilla · mozilla bleach +4 moremozilla mozilla bleachbleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).CVSS7.5HighEPSS0.73%RoutineCVE-2020-6816fedoraproject · fedora +5 morefedoraproject fedoraIn Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.CVSS6.1MediumEPSS1.34%RoutineCVE-2020-6802fedoraproject · fedora +9 morefedoraproject fedoraIn Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.CVSS6.1MediumEPSS1.73%PrioritiseCVE-2018-7753mozilla · bleach +3 moremozilla bleachAn issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.CVSS9.8CriticalEPSS2.17%