Skip to content

Update ammonia to 4.2.5 for RUSTSEC-2026-0533 - #60

Merged
pch merged 1 commit into
mainfrom
fix/ammonia-advisory
Nov 16, 2026
Merged

pch merged 1 commit into
mainfrom
fix/ammonia-advisory

Conversation

@pch

@pch pch commented Nov 16, 2026

Copy link
Copy Markdown
Owner

ammonia 4.2.4 mishandles embedded SVG and MathML, allowing mutation XSS through sanitized HTML (RUSTSEC-2026-0533). cargo deny fails on it, which turned the advisories check red on every open PR.

  • cargo update -p ammonia (4.2.4 → 4.2.5, Cargo.lock only)
  • Security entry in packaging/release-notes/unreleased.md

omafeed's sanitizer keeps ammonia's default tag allowlist (no SVG/MathML), so the known exploit likely didn't apply, but the bump keeps us off the vulnerable version and unblocks CI.

Verified locally: cargo deny check advisories ok, cargo test --workspace passes. Reviewed by Codex: no findings.

🤖 Generated with Claude Code

ammonia 4.2.4 mishandles embedded SVG and MathML, allowing mutation XSS
through sanitized HTML.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pch
pch merged commit 133969d into main Nov 16, 2026
20 checks passed
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