CVE-2018-19787
- State
- Published
- Severity
- 6.1 Medium
- Published
- Dec 2, 2018
- Updated
- Dec 18, 2025
- Reserved
- Dec 2, 2018
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- USN-3841-1vendor-advisory
- [debian-lts-announce] 20181210 [SECURITY] [DLA 1604-1] lxml security updatemailing-list
- USN-3841-2vendor-advisory
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
- [debian-lts-announce] 20201126 [SECURITY] [DLA 2467-1] lxml security updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.