drupal/spamspan - SA-CONTRIB-2020-002
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/spamspan | = 1.0.0 | no fix |
| Drupal module | drupal/spamspan | = 1.0.0 | no fix |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/spamspan- Disclosed
- 22.01.2020
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2020-002 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/spamspan
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 01.2020 02.2025
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Low 1
- Unrated 1
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
drupal/spamspan - SA-CONTRIB-2020-002 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.