{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "13.0.0"
              },
              {
                "fixed": "15.5.16"
              },
              {
                "introduced": "16.0.0"
              },
              {
                "fixed": "16.2.5"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "63aab20a2ca4f0340e7ca5baff00a5f261dd12d2"
            },
            {
              "fixed": "ad6fd4e50e5aba20b60d283c42b89273a3167ccd"
            },
            {
              "introduced": "950609f96f694c5475d18cd2d72a0052ca04d4b9"
            },
            {
              "fixed": "766148f9cd48c0e218acafcd0f15defc14871bf4"
            }
          ],
          "repo": "https://github.com/vercel/next.js",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gx5p-jg67-6x7h"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44580.json"
  },
  "details": "Next.js is a React framework for building full-stack web applications. From 13.0.0 to before 15.5.16 and 16.2.5, applications that use beforeInteractive scripts together with untrusted content can be vulnerable to cross-site scripting. In affected versions, serialized script content was not escaped safely before being embedded into the document, which could allow attacker-controlled input to break out of the intended script context and execute arbitrary JavaScript in a visitor's browser. This vulnerability is fixed in 15.5.16 and 16.2.5.",
  "id": "CVE-2026-44580",
  "modified": "2026-07-08T05:39:24.625552121Z",
  "published": "2026-05-13T17:06:05.772Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44580.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vercel/next.js/security/advisories/GHSA-gx5p-jg67-6x7h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44580"
    }
  ],
  "schema_version": "1.7.5",
  "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": "Next.js: Cross-site scripting in beforeInteractive scripts with untrusted input"
}