Skip to content

fix(deps): bump lxml 6.0.2 → 6.1.0 (closes dependabot #8 / XXE high-sev) - #29

Closed
wolfiesch wants to merge 1 commit into
masterfrom
fix/dependabot-8-lxml-xxe
Closed

fix(deps): bump lxml 6.0.2 → 6.1.0 (closes dependabot #8 / XXE high-sev)#29
wolfiesch wants to merge 1 commit into
masterfrom
fix/dependabot-8-lxml-xxe

Conversation

@wolfiesch

Copy link
Copy Markdown
Collaborator

Summary

Closes dependabot alert #8.

lxml < 6.1.0 ships with default iterparse() and ETCompatXMLParser() configurations that resolve external XML entities, allowing crafted XML documents to read local files (XXE). Patched in lxml 6.1.0. Severity: high.

lxml is a transitive dependency via appscript (used by xlwings on macOS/Linux). ExcelBench does not import lxml directly, but it lands in our resolved environment, which is why dependabot flagged it on master.

Change

Lockfile-only. uv lock --upgrade-package lxml bumps 6.0.2 → 6.1.0. No pyproject.toml change needed because the upper bound was already permissive.

-version = "6.0.2"
+version = "6.1.0"

Test plan

Independent of PR #28 (S1 perf-mem-honesty); both touch different surfaces and can land in either order.

🤖 Generated with Claude Code

Patches a high-severity XXE vulnerability in lxml's iterparse() and
ETCompatXMLParser() default configuration that allowed reading local
files via crafted XML. lxml is a transitive dep via appscript (used by
xlwings on macOS/Linux); ExcelBench does not use it directly, but it
ships in our resolved environment.

Lockfile-only change. uv lock --upgrade-package lxml. Verified:
  uv run pytest tests/  → 1140 passed, 32 skipped, 6 xfailed

Closes dependabot alert #8.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 27, 2026 07:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wolfiesch

Copy link
Copy Markdown
Collaborator Author

Superseded by #27 — dependabot's auto-PR for the same lxml 6.0.2 → 6.1.0 bump (created 2026-04-21, all 5 CI checks SUCCESS, MERGEABLE). I missed it when I created this branch from origin/master and opened a parallel fix. Closing in favor of #27 for the canonical merge trail.

@wolfiesch wolfiesch closed this Apr 27, 2026
@wolfiesch
wolfiesch deleted the fix/dependabot-8-lxml-xxe branch April 27, 2026 07:45
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.

2 participants