CVE-2026-45669 Nuxt: Reflected XSS in `navigateTo()` external redirect

Medium 5.3 Published Updated

Attackers can inject arbitrary JavaScript via external redirects in Nuxt, leading to code execution under the application's origin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-45669?

CVE-2026-45669 is a medium-severity cross-site scripting vulnerability in nuxt, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-83

Which versions are affected by CVE-2026-45669?

4 open source packages ship an affected version, including nuxt. It affects 1 product.

PackageAffectedFixed in
nuxt npmFrom 3.4.33.21.6
nuxt npmFrom 3.4.33.21.6
nuxt npmFrom 4.0.0-alpha.14.4.6
nuxt npmFrom 4.0.0-alpha.14.4.6

Products include Nuxt Nuxt.

How do I fix CVE-2026-45669?

Upgrade nuxt to a fixed version for your release line: 3.21.6 or 4.4.6.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-45669 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45669 exists.

Sources

Also known as GHSA-fx6j-w5w5-h468.

Is CVE-2026-45669 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free