CVE-2026-56317 Nuxt - Cross-Site Scripting via NoScript Component Slot Content
LowCVSS 2.3
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nuxt | < 3.21.7; >= 4.0.0, < 4.4.7 | 3.21.7, 4.4.7 | Fixed |
| npm nuxt(npm) | < 3.21.7; >= 4.0.0, < 4.4.7 | 3.21.7, 4.4.7 | Fixed |
| nuxt | < 3.21.7; >= 4.0.0, < 4.4.7 | 3.21.7, 4.4.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
| npm nuxt | < 3.21.7 | 3.21.7 |
| npm nuxt(npm) | >= 4.0.0, < 4.4.7 | 4.4.7 |
| npm nuxt(npm) | < 3.21.7 | 3.21.7 |
| nuxt | < 3.21.7 | 3.21.7 |
| nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
References
- GitHub Security Advisory (GHSA-m3q2-p4fw-w38m) mitigation patch vendor-advisory
- https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e patch
- https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e patch
- VulnCheck Advisory: Nuxt - Cross-Site Scripting via NoScript Component Slot Content patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-38112 third-party-advisory