{"cve":"CVE-2018-19787","nvd":{"published":"2018-12-02T10:29:00.227","modified":"2026-06-17T01:49:52.673","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109","https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html","https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html","https://usn.ubuntu.com/3841-1/","https://usn.ubuntu.com/3841-2/"],"products":["canonical:ubuntu_linux","debian:debian_linux","lxml:lxml"],"source":"nvd","synced_at":"2026-10-19T20:53:59.789560037+00:00"},"epss":{"cve":"CVE-2018-19787","score":0.02438,"percentile":0.84293,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xp26-p53h-6h2p","url":"https://osv.dev/vulnerability/GHSA-xp26-p53h-6h2p","summary":"Improper Neutralization of Input During Web Page Generation in LXML","modified":"2025-12-20T05:59:46.868377Z","packages":[{"ecosystem":"PyPI","name":"lxml","purl":"pkg:pypi/lxml","ranges":["<4.2.5"],"fixed":["4.2.5"]}]},{"id":"PYSEC-2018-12","url":"https://osv.dev/vulnerability/PYSEC-2018-12","summary":"","modified":"2023-11-08T04:00:08.560552Z","packages":[{"ecosystem":"PyPI","name":"lxml","purl":"pkg:pypi/lxml","ranges":["<4.2.5"],"fixed":["4.2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}