Lxml

Latest version: v5.3.1

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 28

4.3.1

==================

Bugs fixed
----------

* LP1814522: Crash when appending a child subtree that contains unsubstituted
entity references.

Other changes
-------------

* Built with Cython 0.29.5.

4.3.0

Not secure
==================

Features added
--------------

* The module ``lxml.sax`` is compiled using Cython in order to speed it up.

* GH267: ``lxml.sax.ElementTreeProducer`` now preserves the namespace prefixes.
If two prefixes point to the same URI, the first prefix in alphabetical order
is used. Patch by Lennart Regebro.

* Updated ISO-Schematron implementation to 2013 version (now MIT licensed)
and the corresponding schema to the 2016 version (with optional "properties").

Other changes
-------------

* GH270, GH271: Support for Python 2.6 and 3.3 was removed.
Patch by hugovk.

* The minimum dependency versions were raised to libxml2 2.9.2 and libxslt 1.1.27,
which were released in 2014 and 2012 respectively.

* Built with Cython 0.29.2.

4.2.6

Not secure
==================

Bugs fixed
----------

* LP1799755: Fix a DeprecationWarning in Py3.7+.

* Import warnings in Python 3.6+ were resolved.

4.2.5

Not secure
==================

Bugs fixed
----------

* Javascript URLs that used URL escaping were not removed by the HTML cleaner.
Security problem found by Omar Eissa. (CVE-2018-19787)

4.2.4

Not secure
==================

Features added
--------------

* GH259: Allow using ``pkg-config`` for build configuration.
Patch by Patrick Griffis.

Bugs fixed
----------

* LP1773749, GH268: Crash when moving an element to another document with
``Element.insert()``.
Patch by Alexander Weggerle.

4.2.3

Not secure
==================

Bugs fixed
----------

* Reverted GH265: lxml links against zlib as a shared library again.

Page 7 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.