Loading advisory.
Loading advisory.
Nuxt has Client-Side Path Traversal in Nuxt Island Payload Revival
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.
Published 2025-09-17 18:39 UTC · Modified 2025-09-18 13:04 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| nuxt | npm | >= 3.6.0, < 3.19.0 >= 4.0.0, < 4.1.0 | 3.19.0, 4.1.0 | npm install nuxt@3.19.0npm install nuxt@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. The issue affects the following flow:
During prerendering, if an API endpoint returns user-controlled data containing a crafted __nuxt_island object
This 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
This vulnerability requires all of the following conditions:
Prerendered pages: The application must use Nuxt's prerendering feature (nitro.prerender)
Attacker-controlled API responses: The attacker must be able to control the response content of an API endpoint that is called during prerendering via useFetch, useAsyncData, or similar composables
Client-side navigation: A user must navigate to the prerendered page (not during initial SSR hydration)
// Malicious API response during prerendering
{
"__nuxt_island": {
"key": "../../../../internal/service",
"params": { "action": "probe" }
}
}This could cause the client to make requests to /__nuxt_island/../../../../internal/service.json if path traversal is not properly handled by the server.
Limited Impact: The vulnerability has a low severity due to the highly specific prerequisites
No Direct Data Exfiltration: The vulnerability does not directly expose sensitive data
Client-Side Only: Requests originate from the client, not the server
Action Required:
Update to Nuxt 3.19.0+ or 4.1.0+ immediately
Review any prerendered pages that fetch external or user-controlled data
Temporary Workarounds (if immediate update is not possible):
Disable prerendering for pages that fetch user-controlled data
Implement strict input validation on API endpoints used during prerendering
Use allowlists for API response structures during prerendering
The fix implemented validation for Island keys in revive-payload.server.ts:
Island keys must match the pattern /^[a-z][a-z\d-]*_[a-z\d]+$/i
Maximum length of 100 characters
Prevents path traversal and special characters
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.004 | v2026.06.15 |