Vulnerability · Published Jun 20, 2026 · Assigned by VulnCheck

CVE-2026-56317Nuxt - Cross-Site Scripting via NoScript Component Slot Content

Low 2.3

In plain English

A low-severity cross-site scripting in Nuxt from Nuxt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.3%top 72.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnuxt4.4.7GHSA-m3q2-p4fw-w38m
npmnuxt3.21.7GHSA-m3q2-p4fw-w38m

Affected products (as reported)

VendorProductVersions
Nuxt Nuxt 4.0.0 – before 4.4.7
Nuxt Nuxt 0 – before 3.21.7

Weakness: CWE-79 · 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

References