Medium severity6.1NVD Advisory· Published Aug 8, 2021· Updated Jun 17, 2026
CVE-2021-38193
CVE-2021-38193
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ammoniacrates.io | >= 3.0.0, < 3.1.0 | 3.1.0 |
ammoniacrates.io | < 2.1.3 | 2.1.3 |
Affected products
3- ammonia/ammoniadescription
Patches
Vulnerability mechanics
References
5- rustsec.org/advisories/RUSTSEC-2021-0074.htmlnvdExploitIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-5325-xw5m-phm3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-38193ghsaADVISORY
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.mdnvdThird Party AdvisoryWEB
- github.com/rust-ammonia/ammonia/pull/142ghsaWEB
News mentions
0No linked articles in our index yet.