CVE-2018-19787

NameCVE-2018-19787
DescriptionAn issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2467-1, ELA-323-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lxml (PTS)jessie, jessie (lts)3.4.0-1+deb8u5fixed
stretch (security), stretch (lts), stretch3.7.1-1+deb9u5fixed
buster (security), buster, buster (lts)4.3.2-1+deb10u4fixed
bullseye (security), bullseye4.6.3+dfsg-0.1+deb11u1fixed
bookworm4.9.2-1fixed
sid, trixie5.3.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lxmlsourcejessie3.4.0-1+deb8u2ELA-323-1
lxmlsourcestretch3.7.1-1+deb9u1DLA-2467-1
lxmlsource(unstable)4.2.5-1

Notes

Fixed by: https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 (lxml-4.2.5)

Search for package or bug name: Reporting problems