CVEfocus › CVE database › CVE-2018-7753

CVE-2018-7753

CVSS 9.8 CriticalEPSS 2.2% (higher than 83% of CVEs)Published 2018-03-07Updated 2024-09-17Assigner: mitre

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

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
3Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10python-bleachNot affected
vulnerable_code_not_present
Ubuntu 24.04python-bleachNot affected
vulnerable_code_not_present
Ubuntu 22.04python-bleachNot affected
vulnerable_code_not_present
Ubuntu 18.04python-bleachFix pending2.1.2-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-7753
Ubuntu 16.04python-bleachFix pending
Ubuntu 14.04python-bleachFix pending
Debian 14python-bleachFixed2.1.3-1DEBIAN-CVE-2018-7753
Debian 13python-bleachFixed2.1.3-1DEBIAN-CVE-2018-7753
Debian 12python-bleachFixed2.1.3-1DEBIAN-CVE-2018-7753
PyPI librarybleachFixed2.1.3GHSA-m9mq-p2f9-cfqv

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.