RUSTSEC-2021-0158 - XSS in ammonia via SVG `animateMotion`, `animateTransform`, and/or `animateColor` tags

Severity: info · Published 2021-10-10

XSS in ammonia via SVG `animateMotion`, `animateTransform`, and/or `animateColor` tags

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

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 10 October 2021.
Which products and versions are affected?
ammonia (crates.io) SEMVER:introduced=0.0.0-0,fixed=4.1.7,introduced=4.2.0,fixed=4.2.3.
Is there a fix for This vulnerability?
Yes. ammonia (crates.io): upgrade to 4.2.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
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 4.2.3 or later
    cargo update -p ammonia

Affected products

  • ammonia (crates.io) SEMVER:introduced=0.0.0-0,fixed=4.1.7,introduced=4.2.0,fixed=4.2.3

Identifiers

  • GHSA-f2pc-rwv3-69mv
  • RUSTSEC-2021-0158

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