6.1medium
SpamSpan filter - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-016
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-8r2q-865v-wm8jDRUPAL-CONTRIB-2025-016
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal SpamSpan filter allows Cross-Site Scripting (XSS).This issue affects SpamSpan filter: from 0.0.0 before 3.2.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal SpamSpan filter | from 0.0.0 before 3.2.1 | CVE List |
| drupal/spamspan (Packagist) | before 3.2.1 | GitHub Advisory Database |
| drupal/spamspan (Packagist:https://packages.drupal.org/8) | before 3.2.1 | Drupal Security Team |
| drowl spamspan_filter | before 3.2.1 | NVD |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal SpamSpan filter allows Cross-Site Scripting (XSS).This issue affects SpamSpan filter: from 0.0.0 before 3.2.1.
GitHub Advisory Database
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal SpamSpan filter allows Cross-Site Scripting (XSS). This issue affects SpamSpan filter: from 0.0.0 before 3.2.1.
Drupal Security Team
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.
NVD (es)
Vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal SpamSpan filter permite Cross-Site Scripting (XSS). Este problema afecta al filtro SpamSpan: desde la versión 0.0.0 hasta la 3.2.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31687 changed 2025-04-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8r2q-865v-wm8j changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-016 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31687 changed 2026-06-17 | Public domain |