fix(deps): bump ammonia to 4.1.4 (RUSTSEC-2026-0213) - #22
Closed
m-szymanska wants to merge 1 commit into
Closed
Conversation
Patches an XSS in ammonia via SVG animate/set animation tags (GHSA-m6mh-2hw2-555x). Surfaced by prview's own cargo-audit gate blocking a docs-only PR — the tool told the truth about itself. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nqgpf1YwXw2m3vqC8Ur8nr
There was a problem hiding this comment.
An organization admin can view or raise the cap at claude.ai/admin-settings/claude-code. The cap resets at the start of the next billing period.
Once the cap resets or is raised, reopen this pull request to trigger a review.
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
One-line lockfile bump:
ammonia4.1.3 → 4.1.4 (semver-compatible;Cargo.tomlalready saysammonia = "4").Why
RUSTSEC-2026-0213 / GHSA-m6mh-2hw2-555x: XSS in ammonia via SVG
animate/setanimation tags. Patched in 4.1.4.Found by prview itself:
prview --pr 19returned BLOCK on a docs-only PR because its cargo-audit gate caught the advisory in our own lockfile. The verdict was a true positive — this PR clears it.Verification
cargo audit: vulnerabilities count 1 → 0cargo build+cargo test --lib: 1209 passed, 0 failed🤖 Generated with Claude Code
https://claude.ai/code/session_01Nqgpf1YwXw2m3vqC8Ur8nr