GitHub Advisoryadvisory · PyPI
GHSA-xp26-p53h-6h2p Improper Neutralization of Input During Web Page Generation in LXML
MEDIUM
Official page ↗
- Aliases
- CVE-2018-19787
- Ecosystem
- PyPI
- Packages
- lxml
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-06-28
Affected packages
• PyPI lxml: < 4.2.5 → fixed in 4.2.5
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.
Related
Alias · CVE (1)
- CVE-2018-19787 An issue was discovered in lxml before 4.2.5. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-19787 advisory
- https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109 web
- https://github.com/advisories/GHSA-xp26-p53h-6h2p advisory
- https://github.com/lxml/lxml web
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2018-12.yaml web
- https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html web
- https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html web
- https://usn.ubuntu.com/3841-1 web
- https://usn.ubuntu.com/3841-2 web