CVE-2026-56317

Nuxt - Cross-Site Scripting via NoScript Component Slot Content

State
Published
Severity
2.3 Low
Published
Jun 20, 2026
Updated
Jun 24, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
NuxtNuxt
  • 4.0.0 to before 4.4.7Affected
  • 4.4.7Not affected
NuxtNuxt
  • before 3.21.7Affected
  • 3.21.7Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.