# DRUPAL-CONTRIB-2022-028 - SVG Formatter module provides support for using SVG images on your website. Our dependency…

Source: https://junglewise.ai/threats/drupal-contrib-2022-028-svg-formatter-module-provides-support-for-using-c9618e96  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-09  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-03-09

SVG Formatter module provides support for using SVG images on your website.

Our dependency library enshrined/svg-sanitize has a cross-site scripting vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with permission that enables them to upload SVG images.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter](https://junglewise.ai/threats/technologies/drupal-svg-formatter). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## 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 9 March 2022.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter ECOSYSTEM:introduced=0,fixed=1.17.0|ECOSYSTEM:introduced=2.0.0,last_affected=2.0.0.

**Is there a fix for This vulnerability?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter: upgrade to 1.17.0 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 Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter 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

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter: upgrade to 1.17.0 or later

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Svg Formatter ECOSYSTEM:introduced=0,fixed=1.17.0|ECOSYSTEM:introduced=2.0.0,last_affected=2.0.0

## Related threats

- [DRUPAL-CONTRIB-2020-005 - SVG Formatter module provides support for using SVG images on your website. This security…](https://junglewise.ai/threats/drupal-contrib-2020-005-svg-formatter-module-provides-support-for-using-a278e513)
- [DRUPAL-CONTRIB-2018-027 - This module adds a new formatter for the file fields, which allows any file extension to be…](https://junglewise.ai/threats/drupal-contrib-2018-027-this-module-adds-a-new-formatter-for-the-file-3b94c93d)
