Skip to content

CVE-2026-56317 Nuxt - Cross-Site Scripting via NoScript Component Slot Content

LowCVSS 2.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm nuxt < 3.21.7; >= 4.0.0, < 4.4.7 3.21.7, 4.4.7 Fixed
npm nuxt(npm) < 3.21.7; >= 4.0.0, < 4.4.7 3.21.7, 4.4.7 Fixed
nuxt < 3.21.7; >= 4.0.0, < 4.4.7 3.21.7, 4.4.7 Fixed

Affected products

ProductAffected versionsFixed in
npm nuxt >= 4.0.0, < 4.4.7 4.4.7
npm nuxt < 3.21.7 3.21.7
npm nuxt(npm) >= 4.0.0, < 4.4.7 4.4.7
npm nuxt(npm) < 3.21.7 3.21.7
nuxt < 3.21.7 3.21.7
nuxt >= 4.0.0, < 4.4.7 4.4.7

References