CVE-2021-38193: RUSTSEC-2021-0074 - Incorrect handling of embedded SVG and MathML leads to mutation XSS

CVE-2021-38193 · Severity: low · CVSS 3.1 · Published 2021-07-08

Incorrect handling of embedded SVG and MathML leads to mutation XSS

Technologies: ammonia (crates.io). Vendors: crates.io.

Quick answers

Is CVE-2021-38193 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-38193 being exploited in the wild.
How severe is CVE-2021-38193?
Low severity, with a CVSS score of 3.1, published 8 July 2021.
Which products and versions are affected?
ammonia (crates.io) SEMVER:introduced=0.0.0-0,fixed=2.1.3,introduced=3.0.0,fixed=3.1.0, SEMVER:introduced=3.0.0,fixed=3.1.0.
Is there a fix for CVE-2021-38193?
Yes. ammonia (crates.io): upgrade to 3.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-38193?
Check whether you run ammonia (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ammonia (crates.io): upgrade to 3.1.0 or later
    cargo update -p ammonia

Affected products

  • ammonia (crates.io) SEMVER:introduced=0.0.0-0,fixed=2.1.3,introduced=3.0.0,fixed=3.1.0, SEMVER:introduced=3.0.0,fixed=3.1.0

Identifiers

  • CVE-2021-38193
  • GHSA-5325-xw5m-phm3
  • RUSTSEC-2021-0074

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.