CVEvulnerability
CVE-2018-19787
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-12-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.0 ([email protected])
- 6.1 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• lxml lxml (< 4.2.5)
• debian debian linux 8.0
• canonical ubuntu linux 12.04
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
• canonical ubuntu linux 18.04
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html lists.debian.org
- https://usn.ubuntu.com/3841-1/ Third Party Advisory
- https://usn.ubuntu.com/3841-2/ Third Party Advisory
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html lists.debian.org
- https://usn.ubuntu.com/3841-1/ Third Party Advisory
- https://usn.ubuntu.com/3841-2/ Third Party Advisory