—
DRUPAL-CONTRIB-2025-016
Details
This module enables your site to obfuscate Email addresses and prevent spambots to collect them.
The module doesn't sanitize HTML data attributes when an email address link is transformed to separate span HTML elements and then transformed back by JavaScript leading to a Cross Site Scripting (XSS) vulnerability.
This is mitigated by the fact an attacker must be able to insert span HTML elements with data attributes in the page.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist:https://packages.drupal.org/8/drupal/spamspan
Introduced in:
0Fixed in: 3.2.1Upgrade drupal/spamspan to 3.2.1 or newer (ecosystem packagist:https://packages.drupal.org/8).