Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in nuxt from nuxt. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.2%top 92.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnuxt3.21.6GHSA-fx6j-w5w5-h468
npmnuxt4.4.6GHSA-fx6j-w5w5-h468

Affected products (as reported)

VendorProductVersions
nuxt nuxt >= 3.4.3, < 3.21.6>= 4.0.0-alpha.1, < 4.4.6

Weakness: CWE-83 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

References