Skip to main content
← All vulnerabilities
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
published
Not listed in CISA KEV
Fix
Fixed in 3.1.0, 2.1.3
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

  1. CVE published
  2. 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

References 2

rustsec.org

raw.githubusercontent.com