XSS in Lxml
CVE-2018-19787
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.024 (84.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.024 · newest: 0.024 · change: 0.000
Affected products
- Lxml
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3841-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/12/msg00001.html (mailing-list, Mailing List, Third Party Advisory)
- usn.ubuntu.com/3841-2/ (vendor-advisory, Third Party Advisory)
- github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 (Patch, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2020/11/msg00044.html (mailing-list)
Frequently asked questions
- What is CVE-2018-19787?
- CVE-2018-19787 is a medium-severity vulnerability in Lxml, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-12-02.
- How severe is CVE-2018-19787?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2018-19787 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.