CVE-2018-19787
lxml - security update
6.1
MEDIUM
CVSS 3.1
EPSS 0.53%
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.
How to fix CVE-2018-19787
To remediate CVE-2018-19787, upgrade the affected package to a fixed version below.
- —upgrade to 4.2.5-1 or later
- —upgrade to 3.7.1-1+deb9u1 or later
- —upgrade to 4.2.5 or later
- —upgrade to 6be1d081b49c97cfd7b3fbd934a193b668629109 or later
Is CVE-2018-19787 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 4.2.5-1
- from 0, < 3.7.1-1+deb9u1
- from 0, < 4.2.5
- from 0, < 6be1d081b49c97cfd7b3fbd934a193b668629109 | from 0, < 4.2.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |