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.
Published: 2018-12-02
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-1604-1 lxml security update
Debian DLA Debian DLA DLA-2467-1 lxml security update
EUVD EUVD EUVD-2018-0088 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.
Github GHSA Github GHSA GHSA-xp26-p53h-6h2p Improper Neutralization of Input During Web Page Generation in LXML
Ubuntu USN Ubuntu USN USN-3841-1 lxml vulnerability
Ubuntu USN Ubuntu USN USN-3841-2 lxml vulnerability
History

Thu, 18 Dec 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00288}

epss

{'score': 0.00274}


Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00303}

epss

{'score': 0.00288}


Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Lxml Lxml
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-12-18T15:15:39.190Z

Reserved: 2018-12-02T00:00:00.000Z

Link: CVE-2018-19787

cve-icon Vulnrichment

Updated: 2024-08-05T11:44:20.323Z

cve-icon NVD

Status : Modified

Published: 2018-12-02T10:29:00.227

Modified: 2025-12-18T16:15:46.953

Link: CVE-2018-19787

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-09-09T00:00:00Z

Links: CVE-2018-19787 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses