CVE-2018-19787: Canonical Ubuntu Linux

Medium severity, CVSS 6.1. EPSS: 2.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 16.04 only; version 18.04 only
  • Debian Debian Linux: version 8.0 only
  • Lxml Lxml: before 4.2.5 (fixed in 4.2.5)

Published 2018-12-02. Last modified 2026-06-17.