
CVE catalog
CVE-2021-38193
rust-ammonia: CVE-2021-38193
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.71% · Oct 25, 2026
An issue was discovered in the ammonia crate before 3.1.0 for Rust. XSS can occur because the parsing differences for HTML, SVG, and MathML are mishandled, a similar issue to CVE-2020-26870.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-ammonia | sid | 4.2.3-1 | fixed |
| Debian | rust-ammonia | forky | 4.1.4-1 | fixed |
| Debian | rust-ammonia | trixie | 4.0.0-3 | fixed |
| Debian | rust-ammonia | bookworm | 3.2.1-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-ammonia | source | sid | 3.1.2-1 | not yet assigned | Not reported | [991497] |
| Debian | rust-ammonia | source | forky | 3.1.2-1 | not yet assigned | Not reported | [991497] |
| Debian | rust-ammonia | source | trixie | 3.1.2-1 | not yet assigned | Not reported | [991497] |
| Debian | rust-ammonia | source | bookworm | 3.1.2-1 | not yet assigned | Not reported | [991497] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-ammonia-dev]Fixed
Source package: [rust-ammonia]
Details (2)
3.2.1-1· amd64 · bookwormFixed · Fixed:
3.1.2-1dsa · rust-ammonia · debian · bookworm; dsa · rust-ammonia · debian · 12
3.2.1-1· arm64 · bookwormFixed · Fixed:
3.1.2-1dsa · rust-ammonia · debian · bookworm; dsa · rust-ammonia · debian · 12
[Debian 13 (Trixie)]
- [librust-ammonia-dev]Fixed
Source package: [rust-ammonia]
Details (2)
4.0.0-3· amd64 · trixieFixed · Fixed:
3.1.2-1dsa · rust-ammonia · debian · 13
4.0.0-3· arm64 · trixieFixed · Fixed:
3.1.2-1dsa · rust-ammonia · debian · 13
Observed: