CVE-2018-19787

6.1 MEDIUM
Published: December 02, 2018 Modified: December 18, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
Source: cve@mitre.org
Mailing List Third Party Advisory
https://usn.ubuntu.com/3841-1/
Source: cve@mitre.org
Third Party Advisory
https://usn.ubuntu.com/3841-2/
Source: cve@mitre.org
Third Party Advisory
https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://usn.ubuntu.com/3841-1/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://usn.ubuntu.com/3841-2/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

10 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.1 / 10.0
EPSS (Exploit Probability)
0.4%
59th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

debian canonical lxml