lxml
PyPI7 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting lxmlpage 1 of 1
- CVE-2014-3146MEDIUMCVSS 6.1EG 6.1✓ Fixed in 3.3.52014-05-14
vulnerable: 0.9 ... 3.3.4 (101 versions)
Incomplete blacklist vulnerability in the lxml.html.clean module in lxml before 3.3.5 allows remote attackers to conduct cross-site scripting (XSS) attacks via control characters in the link scheme to the clean_html function.
- CVE-2018-19787MEDIUMCVSS 6.1EG 6.1✓ Fixed in 4.2.52018-12-02
vulnerable: 0.9 ... 4.2.4 (128 versions)
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:"…
- CVE-2020-27783MEDIUMCVSS 6.1EG 6.1✓ Fixed in 4.6.22020-12-03
vulnerable: 1.2 ... 4.6.1 (131 versions)
A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw t…
- CVE-2021-28957MEDIUMCVSS 6.1EG 6.1✓ Fixed in 4.6.32021-03-21
vulnerable: 0.9 ... 4.6.2 (146 versions)
An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanit…
- CVE-2021-43818HIGHCVSS 8.2EG 8.2✓ Fixed in 4.6.52021-12-13
vulnerable: 0.9 ... 4.6.4 (148 versions)
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. …
- CVE-2022-2309HIGHCVSS 7.5EG 7.5✓ Fixed in 4.9.12022-07-05
vulnerable: 0.9 ... 4.9.0 (153 versions)
NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggerin…
- CVE-2026-41066HIGHCVSS 7.5EG 7.5✓ Fixed in 6.1.02026-04-24
vulnerable: 1.3.2 ... 6.0.4 (122 versions)
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the res…
Check whether lxml is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for lxml CVEs against the assets you own.
Start Free Scan →