CVE-2018-19787
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.2.5-1 |
| sid | Fixed | 4.2.5-1 |
| forky | Fixed | 4.2.5-1 |
| bullseye | Fixed | 4.2.5-1 |
| bookworm | Fixed | 4.2.5-1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-19787
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
- https://github.com/advisories/GHSA-xp26-p53h-6h2p
- https://github.com/lxml/lxml
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2018-12.yaml
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html
- https://usn.ubuntu.com/3841-1
- https://usn.ubuntu.com/3841-2
- https://www.suse.com/security/cve/CVE-2018-19787.html
- https://usn.ubuntu.com/3841-2/
- https://usn.ubuntu.com/3841-1/
- https://security-tracker.debian.org/tracker/CVE-2018-19787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.