Skip to content

Update dependency lxml to v6.2.0 - #981

Open
k1h-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lxml-6.x
Open

k1h-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lxml-6.x

Conversation

@k1h-renovate

@k1h-renovate k1h-renovate Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
lxml (source, changelog) minor ==6.1.3 → ==6.2.0

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

lxml/lxml (lxml)

v6.2.0

Compare Source

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

This release contains several security fixes. Upgrading is recommended.

Bugs fixed

  • GHSA-23p9-v872-36p9: Passing CDATA() wrapped content ending with a bare ] character
    into an xmlfile reads arbitrary data from the Python heap and includes it in the generated XML document.
    This allows reading random content from the application memory and/or crashing the application.
    Issue found by shaggitza.

  • GHSA-59qx-3jjv-x996: Parsing a document defining a non-wellformed entity with the default configuration
    of iterparse() could crash the application.
    This issue is network exploitable if the application parses untrusted documents from remote sites.
    Issue found by Claude and Ada Logics.

  • GHSA-27mw-m39x-fm32: Comments and PIs from the internal/external DTD subsets were reported
    through the SAX/target-parser and iterparse/pull parser interfaces which could lead to internal
    memory corruption and crashes. They are no longer reported.
    Issue found by Claude and Ada Logics.

  • GH#550: The output of htmldiff() could contain unescaped links, allowing for content injection.
    Patch by Nayana-Naik73.

  • LP#2011542: A processing instruction after the root element crashed lxml.sax.ElementTreeContentHandler
    with IndexError. It is now kept as following sibling.
    Patch by cherith.

  • LP#2175761: Resolvers that returned a string with a base_url leaked a copy of the URL with
    libxml2 2.14 and later.
    Patch by Pierre-Yves Le Borgne.

  • GH#546: lxml.html.diff is a bit more stable on PyPy.
    Patch by Matti Picus.

  • The souppoarser did not immediately close the file after parsing if it opened it.

  • The parallel make execution during library build could fail
    when it tries to request more CPUs than available.

  • LP#2175761: The C code that Cython generates for lxml.etree no longer depends on PYTHONHASHSEED.
    The exact C types that Cython inferred for some untyped variables was not deterministic.
    It is now statically declared.
    Patch by Pierre-Yves Le Borgne.

Other changes


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@k1h-renovate
k1h-renovate Bot requested a review from samanrassam as a code owner November 28, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants