Package · crates.io
ammonia
Every known advisory for the crates.io package ammonia, with the affected versions and how widely it is downloaded.
Advisories16
Malicious0
In CISA KEV0
Exposure8,330,769 downloads in the last 90 days
Newest fixed version among these advisories: 4.2.5. Check your version against each range below.
| Advisory | Affected versions | Published |
|---|---|---|
| RUSTSEC-2026-0533 Incorrect handling of embedded SVG and MathML leads to mutation XSS | 0.0.0-0 to 3.3.5 4.0.0 to 4.1.9 4.2.0 to 4.2.5 | 2026-11-12 |
| CVE-2026-63430 GHSA-9jh8-v38h-cvhr ammonia: mXSS via MathML `annotation-xml` encoding strip | every version to 3.3.2 4.0.0 to 4.0.2 4.1.0 to 4.1.3 | 2026-10-22 |
| RUSTSEC-2026-0373 Missing case-insensitive matching for CSS url function | 0.0.0-0 to 4.1.8 4.2.0 to 4.2.4 | 2026-10-16 |
| CVE-2026-102342 GHSA-m6mh-2hw2-555x Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | every version to 3.3.3 4.0.0 to 4.0.3 4.1.2 to 4.1.4 | 2026-09-29 |
| CVE-2026-102342 RUSTSEC-2026-0213 XSS in ammonia via SVG `animate` and `set` animation tags | 0.0.0-0 to 3.3.3 4.0.0 to 4.0.3 4.1.0 to 4.1.4 | 2026-07-21 |
| CVE-2026-63430 RUSTSEC-2026-0193 mXSS in ammonia via MathML `annotation-xml` encoding strip | 0.0.0-0 to 3.3.2 4.0.0 to 4.0.2 4.1.0 to 4.1.3 | 2026-06-30 |
| GHSA-mm7x-qfjj-5g2c Ammonia incorrectly handles embedded SVG and MathML leading to mutation XSS after removal | 4.1.0 to 4.1.2 4.0.0 to 4.0.1 every version to 3.3.1 | 2025-09-22 |
| RUSTSEC-2025-0071 Incorrect handling of embedded SVG and MathML leads to mutation XSS after removal | 0.0.0-0 to 3.3.1 4.0.0 to 4.0.1 4.1.0 to 4.1.2 | 2025-09-21 |
| GHSA-p2g9-94wh-65c2 Space bug in `clean_text` | 3.0.0 to 3.1.3 | 2022-06-16 |
| RUSTSEC-2022-0003 Space bug in `clean_text` | 3.0.0 to 3.1.3 | 2022-01-19 |
| RUSTSEC-2021-0157 Incorrect escaping for `url("")` functions in CSS style attributes | 0.0.0-0 to 4.1.7 4.2.0 to 4.2.3 | 2021-10-10 |
| RUSTSEC-2021-0158 XSS in ammonia via SVG `animateMotion`, `animateTransform`, and/or `animateColor` tags | 0.0.0-0 to 4.1.7 4.2.0 to 4.2.3 | 2021-10-10 |
| CVE-2021-38193 GHSA-5325-xw5m-phm3 Cross-site Scripting in ammonia | 3.0.0 to 3.1.0 every version to 2.1.3 | 2021-08-25 |
| CVE-2019-15542 GHSA-5hp8-35wj-m525 Uncontrolled recursion in ammonia | every version to 2.1.0 | 2021-08-25 |
| CVE-2021-38193 RUSTSEC-2021-0074 Incorrect handling of embedded SVG and MathML leads to mutation XSS | 0.0.0-0 to 2.1.3 3.0.0 to 3.1.0 | 2021-07-08 |
| CVE-2019-15542 RUSTSEC-2019-0001 Uncontrolled recursion leads to abort in HTML serialization | 0.0.0-0 to 2.1.0 | 2019-04-27 |
Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.