Live threats

All CVEs / Mozilla

CVE-2018-7753Mozilla Bleach

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bleach.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mozillableach2.1
mozillableach2.1.1
mozillableach2.1.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.