CVE-2026-56697
MEDIUM
6.1
CVSS 3.1
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.
Metadata
Severity & Metrics
6.1
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products (2)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Nuxt | Nuxt | — | 4.0.0 < 4.4.7, 4.4.7 |
| Nuxt | Nuxt | — | 0 < 3.21.7, 3.21.7 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-601 | cna | URL Redirection to Untrusted Site ('Open Redirect') |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.1 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 5.3 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
References (4)
- GitHub Security Advisory (GHSA-c9cv-mq2m-ppp3) https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3
- https://github.com/nuxt/nuxt/commit/e447a793c47766834f7497f8412a76cd56fd8ee1 https://github.com/nuxt/nuxt/commit/e447a793c47766834f7497f8412a76cd56fd8ee1
- https://github.com/nuxt/nuxt/commit/6497d99dd106254abd089f6a263d7773869a343b https://github.com/nuxt/nuxt/commit/6497d99dd106254abd089f6a263d7773869a343b
- VulnCheck Advisory: Nuxt - Open Redirect via Protocol-Relative Paths in reloadNuxtApp https://www.vulncheck.com/advisories/nuxt-open-redirect-via-protocol-relative-paths-in-reloadnuxtapp