# DRUPAL-CONTRIB-2020-002: The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-01-22T17:36:50.000Z
- Modified: 2026-09-10T03:46:04.516Z

## Description

The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them.

This module contains a spamspan twig filter which doesn't sanitize the passed HTML string.

This 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.

(As written by Drupal Security Team.)

## Affected

- drupal/spamspan (Packagist:https://packages.drupal.org/8): from 1.0.0 up to 1.0.0

## References

- <https://www.drupal.org/sa-contrib-2020-002> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2020-002](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2020-002), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2020-002 · Whole record: https://cve.day/DRUPAL-CONTRIB-2020-002.json · Rebuilt by cve.day 2026-11-25T22:56:30.112Z
