Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 71%

Nuxt: URL-handling weaknesses in `navigateTo` and `reloadNuxtApp`: SSR open redirect, client-side script execution via the `open` option, and protocol-relative bypass in `reloadNuxtApp`…

0
Medium
Published: 06/16/2026 (06/16/2026, 13:47:52 UTC)
Source: GCVE Database
Product: nuxt

Description

This vulnerability involves three URL-handling weaknesses in Nuxt's client-navigation APIs `navigateTo` and `reloadNuxtApp`. These include an SSR open redirect via path-normalisation bypass, client-side script execution through the `open` option in `navigateTo`, and an open redirect in `reloadNuxtApp` via a protocol-relative URL bypass. These issues allow attackers to cause cross-origin redirects or execute scripts in the application's origin if user-controlled input is passed unsafely. The vulnerabilities are fixed in Nuxt versions 4.4.7 and 3.21.7.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

npmghsa
nuxt
Affected versions
>=4.0.0 <4.4.7
npmghsa
nuxt
Affected versions
>=3.5.0 <3.21.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 05:41:55 UTC

Technical Analysis

Nuxt's `navigateTo` and `reloadNuxtApp` functions had three distinct URL-handling weaknesses. First, `navigateTo` did not properly detect external URLs due to path-normalisation bypasses, allowing SSR open redirects by normalizing inputs like `/..//evil.com` to protocol-relative URLs that redirect cross-origin. Second, `navigateTo({ open: ... })` failed to block script protocols, enabling client-side script execution (reflected XSS) when user input with `javascript:` URLs was passed. Third, `reloadNuxtApp` incorrectly allowed protocol-relative URLs (e.g., `//evil.com`) to bypass script protocol checks, causing open redirects. These vulnerabilities impact apps forwarding user-controlled URLs to these APIs, risking phishing and OAuth token theft. Fixes were released in Nuxt 4.4.7 and 3.21.7 addressing all three issues.

Potential Impact

The SSR open redirect in `navigateTo` can be exploited for phishing or OAuth code theft if user input is forwarded to it on the server side. The client-side script execution via `navigateTo({ open: ... })` enables reflected XSS in the application's origin when user-controlled URLs with script protocols are passed. The open redirect in `reloadNuxtApp` allows cross-origin redirects even with existing script protocol guards, posing similar phishing and token theft risks. These impacts depend on unsafe handling of user-controlled URLs in affected Nuxt applications.

Mitigation Recommendations

A patch is available and should be applied by upgrading to Nuxt versions 4.4.7 or later, or 3.21.7 or later. Until patched, applications should validate redirect targets before passing them to `navigateTo` or `reloadNuxtApp`. For `navigateTo`, reject inputs where the normalized pathname starts with `//` or use an allow-list of known safe paths. For `navigateTo({ open: ... })`, reject URLs with protocols outside an allow-list (typically only `http:` and `https:`). For `reloadNuxtApp`, reject paths starting with `//` or where the resolved host differs from the current host. These mitigations reduce risk until official fixes are applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c9cv-mq2m-ppp3
Osv Schema Version
1.4.0
Aliases
["CVE-2026-56326"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a7ff5fabf8831d5398804f2

Added to database: 08/15/2026, 05:15:38 UTC

Last enriched: 08/15/2026, 05:41:55 UTC

Last updated: 08/16/2026, 00:41:14 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses