CVE-2019-18857: XSS in enshrined/svg-sanitize due to mishandled script and data values in attributes

CVE-2019-18857 · Severity: low · CVSS 3.1 · Published 2020-01-08

XSS in enshrined/svg-sanitize due to mishandled script and data values in attributes

Technologies: enshrined/svg-sanitize (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2019-18857 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-18857 being exploited in the wild.
How severe is CVE-2019-18857?
Low severity, with a CVSS score of 3.1, published 8 January 2020.
Which products and versions are affected?
enshrined/svg-sanitize (Packagist) ECOSYSTEM:introduced=0,fixed=0.12.0.
Is there a fix for CVE-2019-18857?
Yes. enshrined/svg-sanitize (Packagist): upgrade to 0.12.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-18857?
Check whether you run enshrined/svg-sanitize (Packagist) 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

  • enshrined/svg-sanitize (Packagist): upgrade to 0.12.0 or later
    composer require enshrined/svg-sanitize:^0.12.0

Affected products

  • enshrined/svg-sanitize (Packagist) ECOSYSTEM:introduced=0,fixed=0.12.0

Identifiers

  • CVE-2019-18857
  • GHSA-gf8j-v8x5-h9qp

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