CVE-2026-56317Nuxt
Low 2.3 No auth needed
Follow: this CVE · Nuxt · Nuxt We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 20, 2026
- Updated
- Jun 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Nuxt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | nuxt |
≥ 4.0.0 < 4.4.7 |
4.4.7 |
npm install nuxt@4.4.7 |
| npm | nuxt |
< 3.21.7 |
3.21.7 |
npm install nuxt@3.21.7 |
Per OSV / GitHub Advisories (GHSA-m3q2-p4fw-w38m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nuxt | nuxt | < 3.21.7 |
| nuxt | nuxt | ≥ 4.0.0 < 4.4.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Mitigation Patch Vendor Advisory
- www.vulncheck.com Patch Third Party Advisory