# bleach (PyPI) vulnerabilities

5 known vulnerabilities (1 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pypi.org/project/bleach/

## Advisories (5)

### [CVE-2021-23980](https://cve.now/CVE-2021-23980): 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…

- Severity: Medium 6.1
- Published: Feb 16, 2023
- Affected: fixed in 3.3.0.

### [CVE-2020-6817](https://cve.now/CVE-2020-6817): bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

- Severity: High 7.5
- Published: Feb 16, 2023
- Affected: fixed in 3.1.4.

### [CVE-2020-6816](https://cve.now/CVE-2020-6816): 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…

- Severity: Unrated
- Published: Mar 24, 2020
- Affected: fixed in 3.1.2.

### [CVE-2020-6802](https://cve.now/CVE-2020-6802): In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted…

- Severity: Unrated
- Published: Mar 24, 2020
- Affected: fixed in 3.1.1.

### [CVE-2018-7753](https://cve.now/CVE-2018-7753): An issue was discovered in Bleach 2.1.x before 2.1.3.

- Severity: Unrated
- Published: Mar 7, 2018
- Affected: from 2.1, fixed in 2.1.3; from 2.1.0, fixed in 2.1.3.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/bleach
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
