Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nuxt | Nuxt | >= 3.0.0, < 3.21.7 |
Related Weaknesses (CWE)
References
- https://github.com/nuxt/nuxt/commit/6497d99dd106254abd089f6a263d7773869a343bPatch
- https://github.com/nuxt/nuxt/commit/e447a793c47766834f7497f8412a76cd56fd8ee1Patch
- https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3Third Party Advisory
- https://www.vulncheck.com/advisories/nuxt-open-redirect-via-protocol-relative-paThird Party Advisory
FAQ
What is CVE-2026-56697?
CVE-2026-56697 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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-orig...
How severe is CVE-2026-56697?
CVE-2026-56697 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-56697?
Check the references section above for vendor advisories and patch information. Affected products include: Nuxt Nuxt.