CVE-2018-19787
MEDIUM EPSS 82.2%
Published Dec 2, 20187y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Published Dec 2, 2018 7y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
82.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 6
References 5
- github.com https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html
- usn.ubuntu.com https://usn.ubuntu.com/3841-1/
- usn.ubuntu.com https://usn.ubuntu.com/3841-2/
Remediation
- github.com https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109