# ammonia (crates.io) vulnerabilities

4 known vulnerabilities (2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://crates.io/crates/ammonia

## Advisories (4)

### [CVE-2026-63430](https://cve.now/CVE-2026-63430): ammonia: mXSS in ammonia via MathML \`annotation-xml\` encoding strip

- Severity: Medium 6.3
- Published: Oct 15, 2026
- Affected: fixed in 3.3.2; from 4.0.0, fixed in 4.0.2; from 4.1.0, fixed in 4.1.3; fixed in 3.3.2; from 4.0.0, fixed in 4.0.2; from 4.1.0, fixed in 4.1.3.

### [CVE-2026-102342](https://cve.now/CVE-2026-102342): ammonia allows stored XSS through unsanitized SVG animate and set attributes

- Severity: Medium 5.4
- Published: Oct 13, 2026
- Affected: fixed in 3.3.3; from 4.0.0, fixed in 4.0.3; from 4.1.2, fixed in 4.1.4; fixed in 3.3.3; from 4.0.0, fixed in 4.0.3; from 4.1.0, fixed in 4.1.4.

### [CVE-2021-38193](https://cve.now/CVE-2021-38193): An issue was discovered in the ammonia crate before 3.1.0 for Rust.

- Severity: Unrated
- Published: Aug 8, 2021
- Affected: fixed in 2.1.3; from 3.0.0, fixed in 3.1.0; from 3.0.0, fixed in 3.1.0; fixed in 2.1.3.

### [CVE-2019-15542](https://cve.now/CVE-2019-15542): An issue was discovered in the ammonia crate before 2.1.0 for Rust.

- Severity: Unrated
- Published: Aug 26, 2019
- Affected: fixed in 2.1.0; fixed in 2.1.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/ammonia
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
