Skip to content

fix(deps): bump ammonia to 4.1.4 (RUSTSEC-2026-0213) - #22

Closed
m-szymanska wants to merge 1 commit into
mainfrom
fix/ammonia-rustsec
Closed

fix(deps): bump ammonia to 4.1.4 (RUSTSEC-2026-0213)#22
m-szymanska wants to merge 1 commit into
mainfrom
fix/ammonia-rustsec

Conversation

@m-szymanska

Copy link
Copy Markdown
Member

What

One-line lockfile bump: ammonia 4.1.3 → 4.1.4 (semver-compatible; Cargo.toml already says ammonia = "4").

Why

RUSTSEC-2026-0213 / GHSA-m6mh-2hw2-555x: XSS in ammonia via SVG animate/set animation tags. Patched in 4.1.4.

Found by prview itself: prview --pr 19 returned 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 → 0
  • cargo build + cargo test --lib: 1209 passed, 0 failed

🤖 Generated with Claude Code

https://claude.ai/code/session_01Nqgpf1YwXw2m3vqC8Ur8nr

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
Copilot AI lite review requested due to automatic review settings August 22, 2026 19:12

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Code review skipped — your organization has reached its monthly code review spending cap.

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.

Copilot AI left a comment

Copy link
Copy Markdown

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 a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@m-szymanska

Copy link
Copy Markdown
Member Author

Closing as redundant: the ammonia 4.1.3 → 4.1.4 bump (RUSTSEC-2026-0213) landed on main via PR #19 (commit 1b9be96). This branch carried the identical lockfile change.

@m-szymanska
m-szymanska deleted the fix/ammonia-rustsec branch August 23, 2026 12:52
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