GHSA-xppm-jmw6-fhmf
Duplicate Advisory: Cross-site scripting via slot content in Nuxt's head components
Summary
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-m3q2-p4fw-w38m. This link is maintained to preserve external references. ### Original 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 packages
| Ecosystem | Package | Affected versions | Fixed versions |
|---|---|---|---|
| npm | nuxt | — | 4.4.7, 3.21.7 |
Remediation: Upgrade to 4.4.7 or later.
References
Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.