Skip to content
OpenAdvisories
Low · 2.3 CVE-2026-56317 EUVD-2026-38112GHSA-m3q2-p4fw-w38mGHSA-xppm-jmw6-fhmf

Nuxt - Cross-Site Scripting via NoScript Component Slot Content

Published Jun 20, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
Nuxt Nuxt 4.0.0 – < 4.4.7, < 3.21.7 4.4.7

Affected packages

EcosystemPackageAffectedFixedRecord
npm nuxt >= 4.0.0, < 4.4.7 4.4.7 GHSA-m3q2-p4fw-w38m
npm nuxt < 3.21.7 3.21.7 GHSA-m3q2-p4fw-w38m

References