{"id":"DRUPAL-CONTRIB-2020-002","aliases":["DRUPAL-CONTRIB-2020-002"],"related":[],"kind":"vulnerability","state":"published","title":"The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them.","summary":"The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them.\n\nThis module contains a spamspan twig filter which doesn't sanitize the passed HTML string.\n\nThis vulnerability is mitigated by the fact that sites must have custom twig template files that use the SpamSpan filter on a field that an attacker could populate. By default the SpamSpan module does not use the vulnerable twig filter.","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them.\n\nThis module contains a spamspan twig filter which doesn't sanitize the passed HTML string.\n\nThis vulnerability is mitigated by the fact that sites must have custom twig template files that use the SpamSpan filter on a field that an attacker could populate. By default the SpamSpan module does not use the vulnerable twig filter.","format":"markdown","source":"drupal"}],"published":"2020-01-22T17:36:50.000Z","modified":"2026-09-10T03:46:04.516Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/spamspan","purl":"pkg:composer/drupal/spamspan?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2020-002","tags":["web"],"sources":["drupal"]}],"credits":["Jeroen Tubex"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2020-002","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2020-002","licence":"MIT","modified":"2026-09-10T03:46:04.516Z"}],"updatedAt":"2026-11-25T22:56:30.112Z"}