● crates.io crate
ammonia
Ammonia has 10 security advisories. The newest release any of them names as the fix is 4.2.5.
As of , ammonia has 10 security advisories. The newest release any of them names as the fix is 4.2.5.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| From 4.2.0 before 4.2.5 | 4.2.5 | 4 advisories |
| Before 4.1.9 | 4.1.9 | 10 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| RUSTSEC-2026-0533 | Incorrect handling of embedded SVG and MathML leads to mutation XSS | From 4.2.0 before 4.2.5; From 4.0.0 before 4.1.9; Before 3.3.5 | 3.3.5, 4.1.9, 4.2.5 | |
| RUSTSEC-2026-0373 | Missing case-insensitive matching for CSS url function | From 4.2.0 before 4.2.4; Before 4.1.8 | 4.1.8, 4.2.4 | |
| CVE-2026-102342GHSA-m6mh-2hw2-555x, RUSTSEC-2026-0213 | Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Moderate severity | From 4.1.0 before 4.1.4; From 4.0.0 before 4.0.3; Before 3.3.3 | 3.3.3, 4.0.3, 4.1.4 | |
| CVE-2026-63430GHSA-9jh8-v38h-cvhr, RUSTSEC-2026-0193 | ammonia: mXSS via MathML `annotation-xml` encoding stripModerate severity | From 4.1.0 before 4.1.3; From 4.0.0 before 4.0.2; Before 3.3.2 | 3.3.2, 4.0.2, 4.1.3 | |
| GHSA-mm7x-qfjj-5g2cRUSTSEC-2025-0071 | Ammonia incorrectly handles embedded SVG and MathML leading to mutation XSS after removalLow severity | From 4.1.0 before 4.1.2; From 4.0.0 before 4.0.1; Before 3.3.1 | 3.3.1, 4.0.1, 4.1.2 | |
| GHSA-p2g9-94wh-65c2RUSTSEC-2022-0003 | Space bug in `clean_text`Moderate severity | From 3.0.0 before 3.1.3 | 3.1.3 | |
| RUSTSEC-2021-0157 | Incorrect escaping for `url("")` functions in CSS style attributes | From 4.2.0 before 4.2.3; Before 4.1.7 | 4.1.7, 4.2.3 | |
| RUSTSEC-2021-0158 | XSS in ammonia via SVG `animateMotion`, `animateTransform`, and/or `animateColor` tags | From 4.2.0 before 4.2.3; Before 4.1.7 | 4.1.7, 4.2.3 | |
| CVE-2021-38193GHSA-5325-xw5m-phm3, RUSTSEC-2021-0074 | Cross-site Scripting in ammoniaModerate severity | From 3.0.0 before 3.1.0; Before 2.1.3 | 2.1.3, 3.1.0 | |
| CVE-2019-15542GHSA-5hp8-35wj-m525, RUSTSEC-2019-0001 | Uncontrolled recursion in ammoniaHigh severity | Before 2.1.0 | 2.1.0 |
Other crates.io crates
- zstd-safe12 advisories
- wasmtime-wasi11 advisories
- gix10 advisories
- surrealdb-core10 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0