CVE-2018-19787

Medium

Description

An 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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductLxml
PublishedDec 2, 2018
First seenDec 2, 2018

How to fix

Update
  • lxml lxml4.2.5 or later
  • lxml4.2.5 or later

Affected products

ProductAffected versionsFixed in
lxml lxmlv < 4.2.54.2.5
debian debian_linux8.0—
canonical ubuntu_linux12.04, 14.04, 16.04, 18.04—
lxmlPyPIv < 4.2.54.2.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.