Lxml vulnerabilities
We track 4 vulnerabilities in Lxml products across 2 products. 4 are rated high or critical, and none are known to be exploited. The most recent was published on August 20, 2026.
Latest Lxml vulnerabilities
- 8.2 High severity
lxml: Improper Neutralization of Input During Web Page Generation
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in ``lxml.html.defs.link_attrs`` were missing ``xlink:href``, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability
- 7.5 High severity
lxml: Improper Restriction of XML External Entity Reference
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 resolve_entities option
- 9.1 Critical severity
lxml: Improper Restriction of XML External Entity Reference
An XML External Entity (XXE) vulnerability in the ebookmeta.get_metadata function of lxml before v4.9.1 allows attackers to access sensitive information or cause a Denial of Service (DoS) via crafted XML input.
- 7.5 High severity
lxml/lxml: NULL Pointer Dereference
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 triggering crashes through for