CVE-2018-19787 describes a cross-site scripting (XSS) vulnerability in lxml versions prior to 4.2.5, specifically within the lxml.html.clean module. This flaw allows attackers to bypass JavaScript URL sanitization by using escaping techniques, enabling XSS attacks, particularly in browsers like Internet Explorer. Rated as MEDIUM severity (CVSS 6.1), it requires user interaction and can lead to limited confidentiality and integrity impacts. There is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this vulnerability.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 4.2.5CPE matchmatch criteria | cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:* | ||
8.0CPE matchmatch criteria | cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | ||
12.04CPE matchmatch criteria | cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | ||
14.04CPE matchmatch criteria | cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | ||
16.04CPE matchmatch criteria | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
Improper Neutralization of Input During Web Page Generation in LXML
May 13, 2022CVE-2018-19787
Jul 13, 2021An 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.
Dec 11, 2018python-lxml: XSS in lxml.html.clean module in lxml/html/clean.py
Sep 9, 2018