{"id":"CVE-2026-56317","state":"PUBLISHED","title":"Nuxt - Cross-Site Scripting via NoScript Component Slot Content","description":"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.","publishedAt":"2026-06-20T15:21:56.449Z","updatedAt":"2026-06-24T17:53:34.670Z","severity":{"score":2.3,"label":"Low","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Nuxt Nuxt"],"affected":[{"vendor":"Nuxt","product":"Nuxt","packageURL":"pkg:npm/nuxt","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.4.7","versionType":"semver"},{"version":"4.4.7","status":"unaffected","versionType":"semver"}]},{"vendor":"Nuxt","product":"Nuxt","packageURL":"pkg:npm/nuxt","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.21.7","versionType":"semver"},{"version":"3.21.7","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m","https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e","https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e","https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56317.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56317","state":"PUBLISHED","datePublished":"2026-06-20T15:21:56.449Z","dateUpdated":"2026-06-24T17:53:34.670Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-20T12:59:07.917Z"},"containers":{"cna":{"title":"Nuxt - Cross-Site Scripting via NoScript Component Slot Content","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Nuxt","product":"Nuxt","packageURL":"pkg:npm/nuxt","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.4.7","versionType":"semver"},{"version":"4.4.7","status":"unaffected","versionType":"semver"}]},{"vendor":"Nuxt","product":"Nuxt","packageURL":"pkg:npm/nuxt","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.21.7","versionType":"semver"},{"version":"3.21.7","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m","name":"GHSA Advisory GHSA-m3q2-p4fw-w38m","tags":["vendor-advisory"]},{"url":"https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e","name":"https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e","tags":["patch"]},{"url":"https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e","name":"https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content","name":"VulnCheck Advisory: Nuxt - Cross-Site Scripting via NoScript Component Slot Content","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-20T15:21:56.449Z"},"datePublic":"2026-06-02T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:node.js:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.4.7"},{"vulnerable":true,"criteria":"cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.21.7"}]}]}],"credits":[{"lang":"en","value":"alcls01111","type":"reporter"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T17:52:47.230996Z","id":"CVE-2026-56317","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-24T17:53:34.670Z"}}]}}}