Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2020-002

The SpamSpan module obfuscates email addresses to help prevent spambots from collecting them. This module contains a spamspan twig filter w…

Published Jan 22, 2020 · Updated Sep 10, 2026 · Assigned by DRUPAL

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/spamspan >= 1.0.0, <= 1.0.0 — DRUPAL-CONTRIB-2020-002

References