CVE-2018-19787

medium

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.

References

https://usn.ubuntu.com/3841-2/

https://usn.ubuntu.com/3841-1/

https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html

https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html

https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109

Details

Source: Mitre, NVD

Published: 2018-12-02

Updated: 2020-11-26

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium