# CVE-2026-45669: Nuxt reflected XSS in navigateTo external redirect

Source: https://junglewise.ai/threats/cve-2026-45669-nuxt-reflected-xss-in-navigateto-external-redirect  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-12. Updated: 2026-06-12  
License: CC BY 4.0 with a link back

CVE-2026-45669 · Severity: medium · CVSS 3.1 · Published 2026-06-12

Nuxt is a popular web development framework used to build high-performance websites. A security flaw in its redirection system allows attackers to perform 'Cross-Site Scripting' (XSS) attacks. By tricking a user into clicking a malicious link, an attacker could execute unauthorized code in the user's browser, potentially leading to the theft of login session data or unauthorized actions on the user's behalf.

Technologies: [nuxt (npm)](https://junglewise.ai/threats/technologies/nuxt). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-45669 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45669 being exploited in the wild.

**How severe is CVE-2026-45669?** Medium severity, with a CVSS score of 3.1, published 12 June 2026.

**Which products and versions are affected?** nuxt (npm) SEMVER:introduced=3.4.3,fixed=3.21.6.

**Is there a fix for CVE-2026-45669?** Yes. nuxt (npm): upgrade to 3.21.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45669 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-45669?** Check whether you run nuxt (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- nuxt (npm): upgrade to 3.21.6 or later

  ```sh
  npm install nuxt@3.21.6
  ```


## Technical details

A reflected Cross-Site Scripting (XSS) vulnerability exists in Nuxt's `navigateTo()` composable when the `external: true` option is used. During server-side rendering (SSR), Nuxt generates an HTML body containing a `<meta http-equiv="refresh">` tag for the redirect. The destination URL was only sanitized by escaping double quotes, failing to encode other HTML-significant characters like `<`, `>`, `&`, and `'`. An attacker can provide a crafted URL (e.g., via a redirect query parameter) that breaks out of the `content` attribute to inject and execute arbitrary JavaScript in the context of the application's origin. This has been patched in versions 3.21.6 and 4.4.6 by implementing full HTML attribute encoding.

## Affected products

- Nuxt Nuxt >= 3.4.3, < 3.21.6; >= 4.0.0-alpha.1, < 4.4.6

## Identifiers

- CVE-2026-45669
- GHSA-fx6j-w5w5-h468

## Timeline

- 2026-05-11: patched: Fix merged in GitHub pull request #35052
- 2026-05-18: advisory: GitHub Security Advisory GHSA-fx6j-w5w5-h468 published
- 2026-06-12: disclosed: CVE-2026-45669 published to NVD

## References

- [https://github.com/nuxt/nuxt/pull/35052](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)

## Related threats

- [Nuxt path traversal via dot segment normalization bypass](https://junglewise.ai/threats/cve-2026-119200-nuxt-is-an-open-source-web-development-framework-for-vue-js-from)
- [Nuxt stored cross-site scripting in useHeadSafe server island rendering](https://junglewise.ai/threats/cve-2026-114133-nuxt-is-an-open-source-web-development-framework-for-vue-js-from)
- [Nuxt case-sensitive route matching bypass](https://junglewise.ai/threats/cve-2026-114132-nuxt-is-an-open-source-web-development-framework-for-vue-js)
- [Nuxt route-rule bypass via percent-encoded segments](https://junglewise.ai/threats/cve-2026-114131-nuxt-is-an-open-source-web-development-framework-for-vue-js-from)
- [Nuxt XSS via protocol bypass in NuxtLink](https://junglewise.ai/threats/cve-2026-114130-nuxt-is-an-open-source-web-development-framework-for-vue-js)
