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—
Product
Lxml
PublishedDec 2, 2018
First seenDec 2, 2018
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- lxml lxml4.2.5 or later
- lxml4.2.5 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lxml lxml | v < 4.2.5 | 4.2.5 |
| debian debian_linux | 8.0 | — |
| canonical ubuntu_linux | 12.04, 14.04, 16.04, 18.04 | — |
| lxmlPyPI | v < 4.2.5 | 4.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.