Cross-site Scripting (XSS) Affecting python-lxml package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-PYTHONLXML-1993579
- published 26 Jul 2021
- disclosed 9 Sep 2018
Introduced: 9 Sep 2018
CVE-2018-19787 Open this link in a new tabHow to fix?
There is no fixed version for Centos:7 python-lxml.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python-lxml package and not the python-lxml package as distributed by Centos.
See How to fix? for Centos:7 relevant fixed versions and status.
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://access.redhat.com/security/cve/CVE-2018-19787
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109
- 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/