CVE-2026-45669

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

State
Published
Severity
5.3 Medium
Published
Jun 12, 2026
Updated
Jun 12, 2026
Reserved
May 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-83 Improper Neutralization of Script in Attributes in a Web Page

Affected Products

ProductVersions
nuxtnuxt
  • >= 3.4.3, < 3.21.6Affected
  • >= 4.0.0-alpha.1, < 4.4.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.