What’s Vulnerable › Vulnerabilities
CVE-2026-45669: Nuxt: Reflected XSS in `navigateTo()` external redirect
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-12 · updated 2026-06-17
- Weakness: CWE-83
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.
Affected products
- nuxt: from 3.4.3 before 3.21.6; from 4.0.0 before 4.4.6 — fixed in 3.21.6, 4.4.6
How to fix
Upgrade to a fixed version: nuxt 3.21.6, 4.4.6. Check the vendor advisory for mitigations.
References
- https://github.com/nuxt/nuxt/pull/35052
- https://github.com/nuxt/nuxt/security/advisories/GHSA-fx6j-w5w5-h468
- https://github.com/nuxt/nuxt/security/advisories/GHSA-fx6j-w5w5-h468
Get alerted when CVE-2026-45669 or the next vulnerability affects your stack