Description
Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Nuxt | Nuxt | >= 4.0.0, < 4.4.7 |
| Nuxt | Nuxt | < 3.21.7 |
References
- https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032Patch
- https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024dPatch
- https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3Third Party Advisory
- https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-navigateto-open-optionThird Party Advisory
Timeline
- Published
- Jun 22, 2026
- Last modified
- Jun 25, 2026
- NVD status
- Analyzed