crates.io (Rust)Worst: High6 advisories
ammonia: known vulnerabilities
ammonia has 6 reviewed security advisories in the GitHub Advisory Database — 1 high, 4 moderate, 1 low. The most recent was published 2026-10-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the ammonia versions running across your servers, containers and images, and ranks what to patch first.
How to fix ammonia
Upgrade ammonia to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):
cargo update -p ammonia --precise 4.1.3 (cargo audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
ammonia: mXSS via MathML `annotation-xml` encoding strip
Moderate CWE-79
— Affected: from 4.1.0 up to 4.1.3. Fixed in 4.1.3. Published 2026-10-15. GHSA-9jh8-v38h-cvhr · CVE-2026-63430
Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Moderate 5.4 CWE-79
— Affected: from 4.1.2 up to 4.1.4. Fixed in 4.1.4. Published 2026-09-29. GHSA-m6mh-2hw2-555x · CVE-2026-102342
Ammonia incorrectly handles embedded SVG and MathML leading to mutation XSS after removal
Low CWE-79
— Affected: before 3.3.1. Fixed in 3.3.1. Published 2025-09-22. GHSA-mm7x-qfjj-5g2c
Space bug in `clean_text`
Moderate CWE-79
— Affected: from 3.0.0 up to 3.1.3. Fixed in 3.1.3. Published 2022-06-16. GHSA-p2g9-94wh-65c2
Uncontrolled recursion in ammonia
High 7.5 CWE-674
— Affected: before 2.1.0. Fixed in 2.1.0. Published 2021-08-25. GHSA-5hp8-35wj-m525 · CVE-2019-15542
Cross-site Scripting in ammonia
Moderate 6.1 CWE-79
— Affected: before 2.1.3. Fixed in 2.1.3. Published 2021-08-08. GHSA-5325-xw5m-phm3 · CVE-2021-38193
Find ammonia across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.