Vulnerability Details : 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 category: Cross site scripting (XSS)
Products affected by CVE-2018-19787
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-19787
0.42%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-19787
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2018-19787
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-19787
-
https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
[SECURITY] [DLA 1604-1] lxml security updateMailing List;Third Party Advisory
-
https://usn.ubuntu.com/3841-1/
USN-3841-1: lxml vulnerability | Ubuntu security noticesThird Party Advisory
-
https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
Fix: make the cleaner also remove javascript URLs that use escaping. · lxml/lxml@6be1d08 · GitHubPatch;Vendor Advisory
-
https://usn.ubuntu.com/3841-2/
USN-3841-2: lxml vulnerability | Ubuntu security noticesThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html
[SECURITY] [DLA 2467-1] lxml security update
Jump to