{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.0.0"
              },
              {
                "fixed": "1.0.7"
              },
              {
                "introduced": "1.1.0"
              },
              {
                "fixed": "1.1.7"
              },
              {
                "introduced": "1.2.0"
              },
              {
                "fixed": "1.2.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "35fc940d5495341ed4b3306f79be620cc2bcc1dd"
            },
            {
              "introduced": "7318bcaa3092cd1362292cfc2381e7138d8cc22d"
            },
            {
              "fixed": "1c42432a9b7ebb5b61f8ce58270e503a45846807"
            },
            {
              "introduced": "ac78e7abf1785f335832f14aa626fdd21b89d30d"
            },
            {
              "fixed": "b1194e65648e43ecf724a47ec7aa39dcaeb55aba"
            }
          ],
          "repo": "https://git.drupalcode.org/project/ai",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "drupal",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13981.json"
  },
  "details": "Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal AI (Artificial Intelligence) allows Cross-Site Scripting (XSS).This issue affects AI (Artificial Intelligence): from 0.0.0 before 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4.",
  "id": "CVE-2025-13981",
  "modified": "2026-07-15T01:49:04.431139052Z",
  "published": "2026-01-28T20:01:32.915Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.drupalcode.org/project/ai"
    },
    {
      "type": "WEB",
      "url": "https://www.drupal.org/project/ai"
    },
    {
      "type": "WEB",
      "url": "https://www.drupal.org/sa-contrib-2025-119"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13981.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-13981"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "AI (Artificial Intelligence) - Moderately critical - Cross-Site Scripting - SA-CONTRIB-2025-119"
}