CVE-2026-45669 Nuxt: Reflected XSS in `navigateTo()` external redirect
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Nuxt is an open-source web development framework for Vue.js. From versions 3.4.3 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, navigateTo() with external: true generates a server-side HTML redirect body containing a <meta http-equiv="refresh"> tag. The destination URL is only sanitized by replacing " with %22, leaving <, >, &, and ' unencoded. An attacker who can influence the URL passed to navigateTo(url, { external: true }) can break out of the content="…" attribute and inject arbitrary HTML/JavaScript that executes under the application's origin. This issue has been patched in versions 3.21.6 and 4.4.6.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nuxt(npm) | >= 3.4.3, < 3.21.6; >= 3.4.3, <= 3.21.5; >= 4.0.0-alpha.1, < 4.4.6; >= 4.0.0-alpha.1, <= 4.4.5 | 3.21.6, 4.4.6 | Fixed |
| nuxt | = >= 3.4.3, < 3.21.6; = >= 4.0.0-alpha.1, < 4.4.6; >= 3.4.3, < 3.21.6; >= 4.0.0, < 4.4.6 | 3.21.6, 4.4.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuxt | = >= 3.4.3, < 3.21.6 | No fix listed |
| nuxt | = >= 4.0.0-alpha.1, < 4.4.6 | No fix listed |
| npm nuxt(npm) | >= 3.4.3, <= 3.21.5 | No fix listed |
| npm nuxt(npm) | >= 4.0.0-alpha.1, <= 4.4.5 | No fix listed |
| nuxt | >= 3.4.3, < 3.21.6 | 3.21.6 |
| nuxt | >= 4.0.0, < 4.4.6 | 4.4.6 |
| npm nuxt(npm) | >= 3.4.3, < 3.21.6 | 3.21.6 |
| npm nuxt(npm) | >= 4.0.0-alpha.1, < 4.4.6 | 4.4.6 |
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-fx6j-w5w5-h468 exploit patch vendor-advisory
- https://github.com/nuxt/nuxt/pull/35052 issue-tracking patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product