Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lxml | Lxml | < 4.2.5 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 12.04 |
Related Weaknesses (CWE)
References
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109PatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.htmlMailing 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/6be1d081b49c97cfd7b3fbd934a193b668629109PatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.htmlMailing 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
FAQ
What is CVE-2018-19787?
CVE-2018-19787 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2018-19787?
CVE-2018-19787 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-19787?
Check the references section above for vendor advisories and patch information. Affected products include: Lxml Lxml, Debian Debian Linux, Canonical Ubuntu Linux.