{"id":"DRUPAL-CONTRIB-2022-028","aliases":["DRUPAL-CONTRIB-2022-028"],"related":[],"kind":"vulnerability","state":"published","title":"SVG Formatter module provides support for using SVG images on your website.","summary":"SVG Formatter module provides support for using SVG images on your website.\n\nOur dependency library enshrined/svg-sanitize has a cross-site scripting vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with permission that enables them to upload SVG images.","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"SVG Formatter module provides support for using SVG images on your website.\n\nOur dependency library enshrined/svg-sanitize has a cross-site scripting vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with permission that enables them to upload SVG images.","format":"markdown","source":"drupal"}],"published":"2022-03-09T18:28:39.000Z","modified":"2026-09-10T03:46:22.072Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.17.0"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","lastAffected":"2.0.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/svg_formatter","purl":"pkg:composer/drupal/svg_formatter?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2022-028","tags":["web"],"sources":["drupal"]}],"credits":["Jeroen Tubex"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2022-028","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2022-028","licence":"MIT","modified":"2026-09-10T03:46:22.072Z"}],"updatedAt":"2026-11-25T22:56:30.135Z"}