Moderate severityNVD Advisory· Published Aug 8, 2021· Updated Aug 4, 2024
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
2- ammonia/ammoniadescription
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-5325-xw5m-phm3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-38193ghsaADVISORY
- github.com/rust-ammonia/ammonia/pull/142ghsaWEB
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.mdghsax_refsource_MISCWEB
- rustsec.org/advisories/RUSTSEC-2021-0074.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.