CVE-2018-19787

Summary

CVECVE-2018-19787
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-12-02 10:29:00 UTC
Updated2020-11-26 21:15:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Lxml Lxml All All All All
Application Lxml Lxml All All All All

References

ReferenceSourceLinkTags
USN-3841-1: lxml vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Fix: make the cleaner also remove javascript URLs that use escaping. · lxml/lxml@6be1d08 · GitHub MISC github.com Patch, Vendor Advisory
USN-3841-2: lxml vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
[SECURITY] [DLA 1604-1] lxml security update MLIST lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2467-1] lxml security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 670237 EulerOS Security Update for python-lxml (EulerOS-SA-2021-1839)
  • 751854 SUSE Enterprise Linux Security Update for python-lxml (SUSE-SU-2022:0803-1)
  • 751858 OpenSUSE Security Update for python-lxml (openSUSE-SU-2022:0803-1)
  • 751901 SUSE Enterprise Linux Security Update for python-lxml (SUSE-SU-2022:0895-1)
  • 900214 CBL-Mariner Linux Security Update for python-lxml 4.2.4
  • 901761 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (6806-1)
  • 903414 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (4680)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report