Nuxt - Cross-Site Scripting via NoScript Component Slot Content
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nuxt | Nuxt | 4.0.0 to before 4.4.7 | 4.4.7 | Patch available | CNA |
| nuxt | Nuxt | before 3.21.7 | 3.21.7 | Patch available | CNA |
| — | nuxt (npm) | 4.0.0 to before 4.4.7 | 4.4.7 | Patch available | GHSA-m3q2-p4fw-w38m |
| — | nuxt (npm) | before 3.21.7 | 3.21.7 | Patch available | GHSA-m3q2-p4fw-w38m |
- Nuxt Vendornuxt Affected 4.0.0 to before 4.4.7 Fixed in 4.4.7 Patch available CNA
- Nuxt Vendornuxt Affected before 3.21.7 Fixed in 3.21.7 Patch available CNA
- nuxt (npm) Vendor— Affected 4.0.0 to before 4.4.7 Fixed in 4.4.7 Patch available GHSA-m3q2-p4fw-w38m
- nuxt (npm) Vendor— Affected before 3.21.7 Fixed in 3.21.7 Patch available GHSA-m3q2-p4fw-w38m
Remediation
- Fix · CNA Nuxt (Nuxt) Fixed in 4.4.7
- Fix · CNA Nuxt (Nuxt) Fixed in 3.21.7
- Fix · GHSA-m3q2-p4fw-w38m nuxt (npm) Fixed in 4.4.7 Advisory →
- Fix · GHSA-m3q2-p4fw-w38m nuxt (npm) Fixed in 3.21.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56317
- 2026-10-03 Alias added: GHSA-m3q2-p4fw-w38m
References
More Nuxt vulnerabilities
- TI-2023-03020 Code Injection in nuxt/nuxt CVSS 3.1CRITICAL 9.8
- TI-2024-28339 Server-Side Request Forgery (SSRF) in nuxt-icon CVSS 3.1HIGH 8.6
- TI-2024-22685 Remote code execution via the browser when running the test locally in nuxt CVSS 3.1HIGH 8.8
- TI-2026-34788 Nuxt: Route middleware not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*` CVSS 4.0MEDIUM 6.3
- TI-2024-22684 Cross-site Scripting (XSS) in navigateTo if used after SSR in nuxt CVSS 3.1MEDIUM 6.3
- TI-2023-00833 Cross-site Scripting (XSS) - Generic in nuxt/framework CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-56317 · CVE Program
- CVE-2026-56317 · NVD
- FIRST EPSS
- GHSA-m3q2-p4fw-w38m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences