CVE-2026-56697 Nuxt - Open Redirect via Protocol-Relative Paths in reloadNuxtApp

Medium 5.3 Published Updated

Attackers can redirect users to malicious sites via protocol-relative paths in reloadNuxtApp, enabling phishing and credential theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-56697?

CVE-2026-56697 is a medium-severity vulnerability in Nuxt, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-601

Which versions are affected by CVE-2026-56697?

It affects 1 product.

Products include Nuxt Nuxt.

How do I fix CVE-2026-56697?

No fix has been published for CVE-2026-56697 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-56697 being exploited?

There is no known exploitation of CVE-2026-56697 in the wild and no public exploit code.

Sources

Also known as GHSA-g898-grjx-8jm3.

Is CVE-2026-56697 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free