Skip to content

Bump mistune to 3.3.4, patching a batch of newly-disclosed CVEs - #396

Merged
squid-protocol merged 1 commit into
mainfrom
fix/mistune-cve-batch
Jul 25, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/mistune-cve-batch

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Test plan

  • pip install mistune==3.3.4 resolves cleanly standalone
  • CI will validate the full install + smoke tests

mistune was floating at >=3.2.2 (inconsistent with every other pin in
this file), which resolved to the vulnerable 3.2.2. That version is
affected by a dozen advisories disclosed against it (CVE-2026-59922
through -59930, CVE-2026-49851): several quadratic-time DoS vectors in
the inline/block parsers, an XSS bypass in safe_url(), attribute
injection in the admonition renderer, and a directory-traversal bug in
the Include directive. Muninn's osv-scanner flagged this on an unrelated
PR since it rescans the full requirements.txt every run. 3.3.4 (latest)
fixes all of them; pinned exactly to match the rest of the file instead
of left floating.
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit bef1da6 into main Jul 25, 2026
23 checks passed
@squid-protocol
squid-protocol deleted the fix/mistune-cve-batch branch July 25, 2026 01:58
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.

1 participant