Mozilla Bleach vulnerabilities
6 known vulnerabilities affecting mozilla/bleach.
Total CVEs
6
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH1MEDIUM4
Vulnerabilities
Page 1 of 1
CVE-2018-7753P3CRITICALCVSS 9.8v2.1v2.1.1+1 more2018-03-07
CVE-2018-7753 [CRITICAL] CWE-20 CVE-2018-7753: An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't proper
An 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.
ghsanvdosv
CVE-2020-6817P4HIGHCVSS 7.5fixed in 3.1.42023-02-16
CVE-2020-6817 [HIGH] CWE-1333 CVE-2020-6817: bleach.clean behavior parsing style attributes could result in a regular expression denial of servic
bleach.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']}).
ghsanvdosv
CVE-2020-6802P4MEDIUMCVSS 6.1fixed in 3.1.12020-03-24
CVE-2020-6802 [MEDIUM] CWE-79 CVE-2020-6802: In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a
In 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.
ghsanvdosv
CVE-2020-6816P4MEDIUMCVSS 6.1fixed in 3.1.22020-03-24
CVE-2020-6816 [MEDIUM] CWE-79 CVE-2020-6816: In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tag
In 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.
ghsanvdosv
CVE-2021-23980P4MEDIUMCVSS 6.1fixed in 3.3.02023-02-16
CVE-2021-23980 [MEDIUM] CWE-79 CVE-2021-23980: A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or
A 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.
ghsanvdosv
CVE-2014-8881MEDIUM≥ 0.0.02020-09-01
CVE-2014-8881 [MEDIUM] CWE-400 Regular Expression Denial of Service in bleach
Regular Expression Denial of Service in bleach
All versions of the `bleach` package are vulnerable to a regular expression denial of service attack when certain types of input are passed into the sanitize function.
## Recommendation
The `bleach` package is not currently maintained, and has not seen an update since 2014.
To mitigate this issue, it is necessary to use an alternative module that is actively maintaine
ghsaosv