{"id":"DRUPAL-CONTRIB-2022-028","details":"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.","modified":"2026-09-10T03:46:22.072286907Z","published":"2022-03-09T18:28:39Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-028"}],"affected":[{"package":{"name":"drupal/svg_formatter","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/svg_formatter?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.0"}],"database_specific":{"constraint":"\u003c1.17.0"}},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"last_affected":"2.0.0"}],"database_specific":{"constraint":"2.0.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/svg_formatter/DRUPAL-CONTRIB-2022-028.json","affected_versions":"\u003c1.17.0 || 2.0.0","patched":true}}],"schema_version":"1.9.0","credits":[{"name":"Jeroen Tubex","contact":["https://www.drupal.org/user/2228934"]}]}