CVE-2026-56697 Nuxt - Open Redirect via Protocol-Relative Paths in reloadNuxtApp
MediumCVSS 5.3
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nuxt | < 3.21.7; >= 4.0.0, < 4.4.7 | 3.21.7, 4.4.7 | Fixed |
| nuxt | >= 3.0.0, < 3.21.7; >= 4.0.0, < 4.4.7 | 3.21.7, 4.4.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
| npm nuxt | < 3.21.7 | 3.21.7 |
| nuxt | >= 3.0.0, < 3.21.7 | 3.21.7 |
| nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
References
- GitHub Security Advisory (GHSA-c9cv-mq2m-ppp3) third-party-advisory vendor-advisory
- https://github.com/nuxt/nuxt/commit/e447a793c47766834f7497f8412a76cd56fd8ee1 patch
- https://github.com/nuxt/nuxt/commit/6497d99dd106254abd089f6a263d7773869a343b patch
- VulnCheck Advisory: Nuxt - Open Redirect via Protocol-Relative Paths in reloadNuxtApp third-party-advisory