CVE
CVE-2026-56317
CVE-2026-56317LOW 2.3EPSS 28%
CNA 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.
Affected versions
- nuxt≥ 4.0.0, < 4.4.7Fixed in 4.4.7
- nuxt< 3.21.7Fixed in 3.21.7
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- github.com/nuxt/nuxt/commit/4b054e9d95f8daf366cb144b52782047c511a66e · Patch
- github.com/nuxt/nuxt/commit/7fea9fd687f1dacbfb63db5fae5839896b017a0e · Patch
- github.com/nuxt/nuxt/security/advisories/GHSA-m3q2-p4fw-w38m · Mitigation, Patch, Vendor Advisory
- github.com/advisories/GHSA-m3q2-p4fw-w38m · Third Party Advisory
- osv.dev/vulnerability/GHSA-m3q2-p4fw-w38m · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.