Medium (6.1). EPSS 2.4% chance of exploitation in the next 30 days. Fixed in lxml 4.2.5.
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.
Severity
CVSS 3.1
6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.4% chance of exploitation in the next 30 days; higher than 84% of CVEs (scores of 2026-10-31)