CVE-2018-19787

MEDIUM EPSS 82.2%
Published Dec 2, 20187y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Medium
Find Similar
Published Dec 2, 2018 7y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.1
Exploitability
2.8
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
82.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 6

VendorProductVersionRange
lxmllxml* <4.2.5
debiandebian_linux8.0any
canonicalubuntu_linux12.04any
canonicalubuntu_linux14.04any
canonicalubuntu_linux16.04any
canonicalubuntu_linux18.04any

References 5

  • github.com https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
    PatchVendor Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html
  • usn.ubuntu.com https://usn.ubuntu.com/3841-1/
    Third Party Advisory
  • usn.ubuntu.com https://usn.ubuntu.com/3841-2/
    Third Party Advisory

Remediation

  • github.com https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
    PatchVendor Advisory