ADVISORIES

Vulnerability

CVE-2018-19787

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.

13 advisories report this vulnerability, across 8 ecosystems.

Advisories in PyPI

  • GHSA-xp26-p53h-6h2p

    Improper Neutralization of Input During Web Page Generation in LXML

    Moderate CVE-2018-19787 PyPI Updated 20 December 2025
  • PYSEC-2018-12

    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…

    CVE-2018-19787 PyPI Updated 8 November 2023

References