Skip to content
Heist/ feed
Back to feed
Low

Nuxt - Cross-Site Scripting via NoScript Component Slot Content

Type: advisorySources: OSV

Nuxt before 4.4.7 (and the 3.x branch before 3.21.7) contains a cross-site scripting vulnerability in the NoScript component that writes slot content to innerHTML without escaping. Attackers can inject malicious scripts through untrusted data in NoScript slots, such as route.query parameters, which execute in the document context when the noscript tag is implicitly closed by script tags.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-56317
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:50 UTC · Revision 1

Source evidence

Nuxt - Cross-Site Scripting via NoScript Component Slot Content

core-osv · Original source

Published 20 Jun 2026, 15:21 UTC

Nuxt before 4.4.7 (and the 3.x branch before 3.21.7) contains a cross-site scripting vulnerability in the NoScript component that writes slot content to innerHTML without escaping. Attackers can inject malicious scripts through untrusted data in NoScript slots, such as route.query parameters, which execute in the document context when the noscript tag is implicitly closed by script tags.

osv:CVE-2026-56317
Complete source record
{
  "id": "cf947c087de30b6881f29d00565029fde463dde47b7c5c6533e7a2048855b2bf",
  "url": "https://osv.dev/vulnerability/CVE-2026-56317",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nuxt - Cross-Site Scripting via NoScript Component Slot Content",
    "summary": "Nuxt before 4.4.7 (and the 3.x branch before 3.21.7) contains a cross-site scripting vulnerability in the NoScript component that writes slot content to innerHTML without escaping. Attackers can inject malicious scripts through untrusted data in NoScript slots, such as route.query parameters, which execute in the document context when the noscript tag is implicitly closed by script tags.",
    "evidence": "osv:CVE-2026-56317",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-56317",
      "aliases": [
        "CVE-2026-56317",
        "GHSA-m3q2-p4fw-w38m"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nuxt/nuxt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fd806be61503f6ccad099c070a5d803777ba8a57"
                },
                {
                  "introduced": "8aacdde48e8388c8bb11b9a5c2f59935341bfcfd"
                },
                {
                  "fixed": "b7d57903b947e788fadfcfdf88be7951943731bf"
                },
                {
                  "fixed": "4b054e9d95f8daf366cb144b52782047c511a66e"
                },
                {
                  "fixed": "7fea9fd687f1dacbfb63db5fae5839896b017a0e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.21.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.4.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4b054e9d95f8daf366cb144b52782047c511a66e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7fea9fd687f1dacbfb63db5fae5839896b017a0e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.4.6",
            "v3.21.6",
            "v3.21.5",
            "v4.4.5",
            "v3.21.4",
            "v4.4.4",
            "v3.21.3",
            "v4.4.3",
            "v4.4.2",
            "v3.21.2",
            "v4.4.1",
            "v4.4.0",
            "v4.3.1",
            "v3.21.1",
            "v3.21.0",
            "v4.3.0",
            "v3.20.2",
            "v4.2.2",
            "v3.20.1",
            "v4.2.1",
            "v3.20.0",
            "v4.2.0",
            "v3.19.3",
            "v4.1.3",
            "v3.19.2",
            "v4.1.2",
            "v3.19.1",
            "v4.1.1",
            "v3.19.0",
            "v4.1.0",
            "v3.18.1",
            "v4.0.3",
            "v3.18.0",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.17.7",
            "v3.17.6",
            "v3.17.5",
            "v3.17.4",
            "v3.17.3",
            "v3.17.2",
            "v3.17.1",
            "v3.17.0",
            "v3.16.2",
            "v3.16.1",
            "v3.16.0",
            "v3.15.4",
            "v3.15.3",
            "v3.15.2",
            "v3.15.1",
            "v3.15.0",
            "v3.14.1592",
            "v3.14.159",
            "v3.14.0",
            "v3.13.2",
            "v3.13.1",
            "v3.13.0",
            "v3.12.4",
            "v3.12.3",
            "v3.12.2",
            "v3.12.1",
            "v3.12.0",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.3",
            "v3.10.2",
            "v3.10.1",
            "v3.10.0",
            "v3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0",
            "v3.8.2",
            "v3.8.1",
            "v3.8.0",
            "v3.7.4",
            "v3.7.3",
            "v3.7.2",
            "v3.7.1",
            "v3.7.0",
            "v3.6.5",
            "v3.6.4",
            "v3.6.3",
            "v3.6.2",
            "v3.6.1",
            "v3.6.0",
            "v3.5.3",
            "v3.5.2",
            "v3.5.1",
            "v3.5.0",
            "v3.4.3",
            "v3.4.2",
            "v3.4.1",
            "v3.4.0",
            "v3.3.3",
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.3",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.2",
            "v3.1.1",
            "3.1.1",
            "v3.1.0",
            "v3.0.0",
            "v3.0.0-rc.14",
            "v3.0.0-rc.13",
            "v3.0.0-rc.12",
            "v3.0.0-rc.11",
            "v3.0.0-rc.10",
            "v3.0.0-rc.9",
            "v3.0.0-rc.8",
            "v3.0.0-rc.7",
            "v3.0.0-rc.6",
            "v3.0.0-rc.5",
            "v3.0.0-rc.4",
            "v3.0.0-rc.3",
            "v3.0.0-rc.2",
            "v3.0.0-rc.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56317.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.986184400Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56317.json",
        "https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-56317",
        "https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content",
        "https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e",
        "https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56317.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-56317",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519189,
  "published_at": "2026-06-20T15:21:56.449+00:00"
}