Medium severity6.1NVD Advisory· Published Jun 20, 2026· Updated Jun 24, 2026
CVE-2026-56317
CVE-2026-56317
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nuxtnpm | >= 4.0.0, < 4.4.7 | 4.4.7 |
nuxtnpm | < 3.21.7 | 3.21.7 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66envdPatchWEB
- github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0envdPatchWEB
- github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38mnvdMitigationPatchVendor AdvisoryWEB
- www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-noscript-component-slot-contentnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-m3q2-p4fw-w38mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-56317ghsaADVISORY
News mentions
0No linked articles in our index yet.