Vulnerability record · CVE-2018-19787 · published 2 December 2018
CVE-2018-19787: Lxml cross-site scripting vulnerability
LLxml · Lxml
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 | PatchVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html | |
| https://usn.ubuntu.com/3841-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3841-2/ | Third Party Advisory |
| https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 | PatchVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html | |
| https://usn.ubuntu.com/3841-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3841-2/ | Third Party Advisory |
Track CVE-2018-19787 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-19787), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.