Nuxt: Reflected XSS in `navigateTo()` external redirect
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nuxt | nuxt | 3.4.3 to before 3.21.6; 4.0.0-alpha.1 to before 4.4.6 | 3.21.6, 4.4.6 | Patch available | CNA |
| — | nuxt (npm) | 3.4.3 to before 3.21.6 | 3.21.6 | Patch available | GHSA-fx6j-w5w5-h468 |
| — | nuxt (npm) | 4.0.0-alpha.1 to before 4.4.6 | 4.4.6 | Patch available | GHSA-fx6j-w5w5-h468 |
- nuxt Vendornuxt Affected 3.4.3 to before 3.21.6; 4.0.0-alpha.1 to before 4.4.6 Fixed in 3.21.6, 4.4.6 Patch available CNA
- nuxt (npm) Vendor— Affected 3.4.3 to before 3.21.6 Fixed in 3.21.6 Patch available GHSA-fx6j-w5w5-h468
- nuxt (npm) Vendor— Affected 4.0.0-alpha.1 to before 4.4.6 Fixed in 4.4.6 Patch available GHSA-fx6j-w5w5-h468
Remediation
- Fix · CNA nuxt (nuxt) Fixed in 3.21.6, 4.4.6
- Fix · GHSA-fx6j-w5w5-h468 nuxt (npm) Fixed in 3.21.6 Advisory →
- Fix · GHSA-fx6j-w5w5-h468 nuxt (npm) Fixed in 4.4.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45669
- 2026-10-03 Alias added: GHSA-fx6j-w5w5-h468
References
More Nuxt vulnerabilities
- TI-2023-03020 Code Injection in nuxt/nuxt CVSS 3.1CRITICAL 9.8
- TI-2024-28339 Server-Side Request Forgery (SSRF) in nuxt-icon CVSS 3.1HIGH 8.6
- TI-2024-22685 Remote code execution via the browser when running the test locally in nuxt CVSS 3.1HIGH 8.8
- TI-2026-34788 Nuxt: Route middleware not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*` CVSS 4.0MEDIUM 6.3
- TI-2024-22684 Cross-site Scripting (XSS) in navigateTo if used after SSR in nuxt CVSS 3.1MEDIUM 6.3
- TI-2023-00833 Cross-site Scripting (XSS) - Generic in nuxt/framework CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-45669 · CVE Program
- CVE-2026-45669 · NVD
- FIRST EPSS
- GHSA-fx6j-w5w5-h468 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences