DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs892252

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-bleach (PTS)stretch2.0-1fixed
stretch (security)2.0-1+deb9u1fixed
buster, buster (security)3.1.2-0+deb10u2fixed
bookworm, sid4.1.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-bleachsourcejessie(not affected)
python-bleachsourcestretch(not affected)


[stretch] - python-bleach <not-affected> (Vulnerable code introduced later)
[jessie] - python-bleach <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems