Skip to main content
← All vulnerabilities
CVE-2025-59414GHSA-P6JQ-8VC4-79F6

Nuxt Client-Side Path Traversal in Nuxt Island Payload Revival

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.19.0, 4.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Nuxt is an open-source web development framework for Vue.js. Prior to 3.19.0 and 4.1.0, A client-side path traversal vulnerability in Nuxt's Island payload revival mechanism allowed attackers to manipulate client-side requests to different endpoints within the same application domain when specific prerendering conditions are met. The vulnerability occurs in the client-side payload revival process (revive-payload.client.ts) where Nuxt Islands are automatically fetched when encountering serialized __nuxt_island objects. During prerendering, if an API endpoint returns user-controlled data containing a crafted __nuxt_island object, he data gets serialized with devalue.stringify and stored in the prerendered page. When a client navigates to the prerendered page, devalue.parse deserializes the payload. The Island reviver attempts to fetch /__nuxt_island/${key}.json where key could contain path traversal sequences. Update to Nuxt 3.19.0+ or 4.1.0+.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nuxt nuxt

    >= 3.6.0 < 3.19.0, >= 4.0.0 < 4.1.0

  • nuxtnpm

    From 3.6.0 · fixed in 3.19.0

  • nuxtnpm

    From 4.0.0 · fixed in 4.1.0

References 2

GitHub · nuxt/nuxt