CVE-2025-31687 json
SpamSpan filter - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-016
published 2025-02-12 20 mo ago modified 2026-09-10 1 mo ago also DRUPAL-CONTRIB-2025-016 , GHSA-8r2q-865v-wm8j , EUVD-2025-9040
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist drupal/spamspan 3.2.1
- Drupal SpamSpan filter 3.2.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/spamspan | <3.2.1 |
3.2.1 |
Affected products
- Drupal SpamSpan filter
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
git.drupalcode.org
/project/spamspan/-/commit/90d622211c8bb316080a3af1dcf253b0d7e90791
web
-
drupal.org
/sa-contrib-2025-016
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-31687
advisory
-
git.drupalcode.org
/project/spamspan
package
Sources
- CVE List CVE-2025-31687
- GitHub Advisory GHSA-8r2q-865v-wm8j
- NVD CVE-2025-31687
- OSV DRUPAL-CONTRIB-2025-016
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.