Junglewise Threat Intelligence

CVE-2026-56697: Nuxt open redirect and XSS in navigateTo and reloadNuxtApp

CVE-2026-56697 · Severity: medium · CVSS 6.1 · Published 2026-06-22

Vendors: Nuxt.

Executive brief

Nuxt, a popular web development framework, contains vulnerabilities in how it handles website addresses during navigation and app reloading. An attacker could trick a user into clicking a malicious link that redirects them to a fraudulent website designed to steal login credentials or sensitive authorization codes. In some cases, this could also allow an attacker to run unauthorized scripts in the user's browser.

Technical details

Nuxt versions 4.x before 4.4.7 and 3.x before 3.21.7 contain multiple URL-handling weaknesses in the `navigateTo` and `reloadNuxtApp` APIs. The `reloadNuxtApp` function fails to properly block protocol-relative paths (e.g., `//evil.com`), which bypass script-protocol checks but resolve to cross-origin URLs, leading to open redirects. Additionally, `navigateTo` is vulnerable to an SSR open redirect via path-normalization bypass and client-side XSS when the `open` option is used, as it bypasses `isScriptProtocol` checks. Attackers can exploit these by providing specially crafted URLs to applications that forward user-controlled input into these functions. The issues are patched in Nuxt 4.4.7 and 3.21.7.

Affected products

  • Nuxt Nuxt >= 4.0.0, < 4.4.7; 3.x < 3.21.7

Timeline

  • 2026-06-02: advisory: GitHub Security Advisory GHSA-c9cv-mq2m-ppp3 published
  • 2026-06-22: disclosed: CVE-2026-56697 published to NVD

References