CVE-2026-56317
LOW 2.3CVSS 4.0Cross-site scripting via <NoScript> slot content in Nuxt's head components
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.
- Published
- 20 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-m3q2-p4fw-w38m
- Sources
- NVDJSONOSV GHSA-m3q2-p4fw-w38mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nuxt | nuxtcpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:* |
< 3.21.7 | 3.21.7 |
| NVD | nuxt | nuxtcpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.4.7 | 4.4.7 |
| OSV | npm | nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
| OSV | npm | nuxt | < 3.21.7 | 3.21.7 |
References
- https://github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e · Patch, WEB
- https://github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e · Patch, WEB
- https://github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m · Mitigation, Patch, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-content · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56317 · ADVISORY
- https://github.com/nuxt/nuxt · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jun 2026)