Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-45669 EUVD-2026-36420GHSA-fx6j-w5w5-h468

Nuxt: Reflected XSS in `navigateTo()` external redirect

Published Jun 12, 2026 · Updated Jun 12, 2026 · Assigned by GitHub_M

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

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

Affected packages

EcosystemPackageAffectedFixedRecord
npm nuxt >= 3.4.3, < 3.21.6 3.21.6 GHSA-fx6j-w5w5-h468
npm nuxt >= 4.0.0-alpha.1, < 4.4.6 4.4.6 GHSA-fx6j-w5w5-h468

References