CVE-2025-59414 Nuxt Client-Side Path Traversal in Nuxt Island Payload Revival
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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+.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nuxt(npm) | >= 3.6.0, < 3.19.0; >= 4.0.0, < 4.1.0 | 3.19.0, 4.1.0 | Fixed |
| nuxt | = >= 3.6.0 < 3.19.0; = >= 4.0.0 < 4.1.0; >= 3.6.0, < 3.19.0; >= 4.0.0, < 4.1.0 | 3.19.0, 4.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nuxt(npm) | >= 3.6.0, < 3.19.0 | 3.19.0 |
| npm nuxt(npm) | >= 4.0.0, < 4.1.0 | 4.1.0 |
| nuxt | = >= 3.6.0 < 3.19.0 | No fix listed |
| nuxt | = >= 4.0.0 < 4.1.0 | No fix listed |
| nuxt | >= 3.6.0, < 3.19.0 | 3.19.0 |
| nuxt | >= 4.0.0, < 4.1.0 | 4.1.0 |
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-p6jq-8vc4-79f6 exploit patch vendor-advisory
- https://github.com/nuxt/nuxt/commit/2566d2046bccb158d98fb13e42ce4b2c33fb2595 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product