{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.0.0"
              },
              {
                "fixed": "3.2.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2c1f4c5c9ac67c660395ed60fc7a38fa20b41958"
            }
          ],
          "repo": "https://git.drupalcode.org/project/spamspan",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "drupal",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31687.json"
  },
  "details": "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.",
  "id": "CVE-2025-31687",
  "modified": "2026-07-15T01:49:08.913651267Z",
  "published": "2025-03-31T21:44:50.483Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.drupalcode.org/project/spamspan"
    },
    {
      "type": "WEB",
      "url": "https://www.drupal.org/project/spamspan"
    },
    {
      "type": "WEB",
      "url": "https://www.drupal.org/sa-contrib-2025-016"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31687.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-31687"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SpamSpan filter - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-016"
}