View online: https://www.drupal.org/sa-contrib-2025-016
Project: SpamSpan filter [1] Date: 2025-February-12 Security risk: *Moderately critical* 13 ∕ 25 AC:Complex/A:User/CI:Some/II:Some/E:Theoretical/TD:All [2] Vulnerability: Cross Site Scripting
Affected versions: <3.2.1 Description: 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.
Solution: Install the latest version:
* If you use the Spamspan filter module for Drupal 10.x, upgrade to Spamspan filter 3.2.1 [3]
Reported By: * Pierre Rudloff (prudloff) [4]
Fixed By: * Julian Pustkuchen (anybody) [5] * Joshua Sedler (grevil) [6] * Adam Nagy (joevagyok) [7] * Pierre Rudloff (prudloff) [8]
Coordinated By: * Greg Knaddison (greggles) [9] of the Drupal Security Team
[1] https://www.drupal.org/project/spamspan [2] https://www.drupal.org/security-team/risk-levels [3] https://www.drupal.org/project/spamspan/releases/3.2.1 [4] https://www.drupal.org/u/prudloff [5] https://www.drupal.org/u/anybody [6] https://www.drupal.org/u/grevil [7] https://www.drupal.org/u/joevagyok [8] https://www.drupal.org/u/prudloff [9] https://www.drupal.org/u/greggles