CVE-2026-56697: Nuxt - Open Redirect via Protocol-Relative Paths in reloadNuxtApp
Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 accept protocol-relative paths such as //evil.com in the reloadNuxtApp function; these pass the script-protocol check but resolve to a cross-origin URL against the current page protocol. Attackers can inject paths like //evil.com to redirect users to attacker-controlled hosts, enabling phishing and OAuth authorization-code theft.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Nuxt reloadNuxtApp open redirect (protocol-relative paths)to a version that resolves this vulnerability.Fixed in 4.4.7 - Upgrade
Upgrade
Nuxt reloadNuxtApp open redirect (protocol-relative paths)to a version that resolves this vulnerability.Fixed in 3.21.7
Event History
Frequently Asked Questions
What is the severity of CVE-2026-56697?
The severity of CVE-2026-56697 is medium, rated at 6.1.
How do I fix CVE-2026-56697?
To fix CVE-2026-56697, update Nuxt to version 4.4.7 or later, or version 3.21.7 or later.
What versions of Nuxt are affected by CVE-2026-56697?
CVE-2026-56697 affects Nuxt versions 4.0.0 to 4.4.6 and 3.x versions earlier than 3.21.7.
What type of vulnerability is CVE-2026-56697?
CVE-2026-56697 is an Open Redirect vulnerability allowing attackers to redirect users to malicious sites.
What is the impact of CVE-2026-56697?
The impact of CVE-2026-56697 can lead to phishing attacks or the hijacking of users through malicious redirects.