CVE-2021-38193GHSA-5325-XW5M-PHM3RUSTSEC-2021-0074
An issue was discovered in the ammonia crate before 3.1.0 for Rust.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.1.0, 2.1.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a n/a
Version range not reported
- ammoniacrates.io
From 3.0.0 · fixed in 3.1.0
- ammoniacrates.io
fixed in 2.1.3
- ammoniacrates.io
From 0.0.0-0 · fixed in 2.1.3; From 3.0.0 · fixed in 3.1.0