GHSA-8r2q-865v-wm8jmedium6.1
DRUPAL-CONTRIB-2025-016
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
drupal/spamspan Packagist
Ecosystem versions
Earlier releases before 3.2.1
Fixed in 3.2.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}drupal/spamspan Packagist:https://packages.drupal.org/8
Ecosystem versions
Earlier releases before 3.2.1
Fixed in 3.2.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<3.2.1"
}
}
],
"versions": []
}