DRUPAL-CONTRIB-2020-002

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2020-002

    DRUPAL-CONTRIB-2020-002

    Published: 22 Jan 2020Last Modified: 10 Sept 2026

    Summary:

    Details: 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

    Package

    Name: drupal/spamspan

    Purl: pkg:composer/drupal/spamspan?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.0.0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High