# CVE-2025-31687: SpamSpan filter - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-016

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-12T17:38:09.000Z
- Modified: 2026-09-10T03:46:13.598Z
- Also known as: GHSA-8r2q-865v-wm8j, DRUPAL-CONTRIB-2025-016
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: drupal

## 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.

(As written by CVE List.)

## Affected

- Drupal SpamSpan filter: from 0.0.0 before 3.2.1
- drupal/spamspan (Packagist): before 3.2.1
- drupal/spamspan (Packagist:https://packages.drupal.org/8): before 3.2.1
- drowl spamspan_filter: before 3.2.1

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://www.drupal.org/sa-contrib-2025-016> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31687> (advisory)
- <https://git.drupalcode.org/project/spamspan> (package)
- <https://git.drupalcode.org/project/spamspan/-/commit/90d622211c8bb316080a3af1dcf253b0d7e90791> (web)

## Sources

- CVE List: [CVE-2025-31687](https://www.cve.org/CVERecord?id=CVE-2025-31687), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-8r2q-865v-wm8j](https://github.com/advisories/GHSA-8r2q-865v-wm8j), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CONTRIB-2025-016](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-016), MIT, modified 2026-09-10
- NVD: [CVE-2025-31687](https://nvd.nist.gov/vuln/detail/CVE-2025-31687), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31687 · Whole record: https://cve.day/CVE-2025-31687.json · Rebuilt by cve.day 2026-11-25T22:58:55.754Z
