Skip to content

build(deps): bump lxml from 5.4.0 to 6.2.1 - #141

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/uv/dev/lxml-6.2.1
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/uv/dev/lxml-6.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Bumps lxml from 5.4.0 to 6.2.1.

Changelog

Sourced from lxml's changelog.

6.2.1 (2026-11-29)

This release fixes regressions in lxml 6.2.0 and covers more edge cases for its security fixes. Upgrading is recommended.

Bugs fixed

  • GH#620: Pull parsers with a parser target failed on comments and processing instructions when collecting comment or pi events since lxml 6.2.0. Patch by Pierre-Yves Le Borgne.

  • LP#2178248: The parser target's .start() callback method stopped receiving a namespace mapping dict in lxml 6.2.0 if no .end_ns() method was also provided.

  • GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not work with libxml2 < 2.13, which parses entities in a separate parser context. iterparse() and XMLPullParser could still crash with it on entities that fail to parse, but also on comments and PIs in entities and on entities that are referenced more than once. Patch by Pierre-Yves Le Borgne.

  • GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not cover parsers with resolve_entities=False. libxml2 also parses the internal entities that it does not substitute, and iterparse() and XMLPullParser could still crash on such entities that fail to parse. Patch by Pierre-Yves Le Borgne.

  • GHSA-59qx-3jjv-x996, GH#619: An XMLPullParser that was fed again after a parse error reported left-over events of the failed document, which could refer to elements that were already freed. Patch by Pierre-Yves Le Borgne.

  • LP#2178276: The sdist was missing from the Github release upload.

6.2.0 (2026-11-27)

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.

... (truncated)

Commits
  • a5004e9 Update changelog.
  • be22351 Prepare release of 6.2.1.
  • d60cec1 Build: Provide debug information if a library download retrieves something el...
  • 9932a93 GHSA-59qx-3jjv-x996: Also postpone parse events with libxml2 < 2.13, with res...
  • f640934 Update changelog.
  • 807d743 Split _pushSaxStartEvent() to specialise it for the target/no-target cases th...
  • 588e389 Always report the nsmap to a parser target's start() method, not just when as...
  • f2d5e3d Fix the 'comment' and 'pi' events of pull parsers with a parser target (GH-620)
  • 7e0baee Build: Include sdist in release upload.
  • ae5dfef Build: Use already downloaded libxml2/libxslt archives without network access...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lxml](https://github.com/lxml/lxml) from 5.4.0 to 6.2.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-5.4.0...lxml-6.2.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants