CVE-2026-56317 json
Nuxt - Cross-Site Scripting via NoScript Component Slot Content
published 2026-06-16 4 mo ago modified 2026-11-08 26 h ago also EUVD-2026-38112 , GHSA-m3q2-p4fw-w38m
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
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.
Patch / fix
- npm nuxt 3.21.7, 4.4.7
- Nuxt Nuxt 3.21.7, 4.4.7
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.3 | 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 |
| CNA | 4.0 | 2.3 | 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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nuxt | >=4.0.0, <4.4.7 <3.21.7 |
4.4.7 3.21.7 |
Affected products
- Nuxt Nuxt
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e
patch, web
-
github.com
/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e
patch, web
-
github.com
/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m
vendor-advisory, web, mitigation, patch
-
vulncheck.com
/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content
third-party-advisory, web, patch
-
nvd.nist.gov
/vuln/detail/CVE-2026-56317
advisory
-
github.com
/nuxt/nuxt
package
Sources
- CVE List CVE-2026-56317
- GitHub Advisory GHSA-m3q2-p4fw-w38m
- NVD CVE-2026-56317
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.