CVE-2026-56317 PUBLISHED

Nuxt - Cross-Site Scripting via NoScript Component Slot Content

Assigner: VulnCheck
Reserved: 20.06.2026 Published: 20.06.2026 Updated: 20.06.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 2.3

Product Status

Vendor Nuxt
Product Nuxt
Versions Default: unaffected
  • affected from 4.0.0 to 4.4.7 (excl.)
  • Version 4.4.7 is unaffected
Vendor Nuxt
Product Nuxt
Versions Default: unaffected
  • affected from 0 to 3.21.7 (excl.)
  • Version 3.21.7 is unaffected

Credits

  • alcls01111 reporter

References

Problem Types

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