CVE-2018-7753Mozilla Bleach
Critical 9.8 No auth needed
Follow: this CVE · Mozilla · Mozilla Bleach We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Mar 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Bleach.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bleach |
≥ 2.1.0 < 2.1.3 |
2.1.3 |
pip install "bleach>=2.1.3" |
| PyPI | bleach |
≥ 2.1 < 2.1.3 |
2.1.3 |
pip install "bleach>=2.1.3" |
Per OSV / GitHub Advisories (GHSA-m9mq-p2f9-cfqv, PYSEC-2018-51). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mozilla | bleach | 2.1 |
| mozilla | bleach | 2.1.1 |
| mozilla | bleach | 2.1.2 |
Official advisories
- python313-bleach-6.4.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11323-1 · Jul 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory