LOW · CVSS 3.1 3.1 EPSS 0.2% · 3th percentile CWE-116CWE-349

CVE-2026-128076: Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)

Published 2026-11-16 · Updated 2026-11-16 · Also known as GHSA-hf59-9xwc-2g4p

Summary

Nuxt improperly uses ohash serialization to validate island props, allowing attackers to create colliding hashes that result in unauthorized content rendering. Engineering teams utilizing Nuxt server components or <NuxtIsland> should update to the patched versions immediately.

Who is affected

The vulnerability affects Nuxt deployments that use server components or <NuxtIsland> where user-controlled input is passed as props. Attackers can force the application to serve cached or rendered island content meant for different parameters, potentially leading to cross-site scripting if the island uses unsafe HTML sinks like v-html.

Exploitability

The vulnerability is rated as Low severity with a base score of 3.1. It requires user interaction and specific configuration conditions, while the EPSS score of 0.001 indicates a very low likelihood of widespread exploit attempts; it is not listed in the CISA KEV database.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @nuxt/nitro-server >= 4.4.6, < 4.6.4 4.6.4 npm install @nuxt/[email protected]
npm @nuxt/nitro-server >= 3.21.6 (no fix published) not published -
npm nuxt >= 4.4.6, < 4.6.4 4.6.4 npm install [email protected]
npm nuxt >= 3.21.6 (no fix published) not published -

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

FAQ

Is Nuxt 3 affected?

Yes, however Nuxt 3 has reached end of life and will not receive a fix. Users are advised to upgrade to Nuxt 4.

What happens if I cannot upgrade immediately?

You can mitigate the risk by ensuring your CDN or reverse proxy caches island routes based on the full query string and by sanitizing any user input passed into island props.

Does this flaw allow remote code execution?

The vulnerability itself causes content substitution. RCE is only possible if the application renders that substituted content in an unsafe way, such as using v-html or innerHTML on the malicious payload.

Original advisory description
### Summary The fix for CVE-2026-46342 (GHSA-g8wj-3cr3-6w7v) binds each `/__nuxt_island/<Name>_<hash>.json` path to its props by hashing the `(name, props, context, source)` tuple. That hash was computed over `ohash`'s serialization, which does not escape quotes inside strings or delimiters inside keys, so two different prop objects can produce the same hash. A request with crafted props can therefore pass validation for another island's path and render different content at that path. ### Impact For example, these two prop objects serialize identically and share one island path: ```js { html: '', note: '<img src=x onerror="alert(1)">' } { html: '\',note:\'<img src=x onerror="alert(1)">' } ``` This reopens the scenarios described in GHSA-g8wj-3cr3-6w7v: - **`nuxt generate` / prerendering.** Nuxt caches prerendered island responses by path. If the crawler reaches a link to the colliding URL (for example in user-submitted content included in the build) before it renders the page that uses the legitimate props, the colliding response is written into the generated page. - **Path-keyed shared caches.** A CDN or reverse proxy that caches `/__nuxt_island/*` by path only, ignoring the query, can be primed with the colliding response. An attacker has to construct props that collide with a specific legitimate tuple, which in practice means at least part of that tuple is a string they control (for example a stored comment or profile field passed as a prop). Where a prop reaches an unsafe HTML sink in the island (`v-html`, `innerHTML`, a renderer treating a prop as HTML), the substituted response can execute script in the site's origin. Without such a sink, the impact is content substitution. Applications are not affected if they do not use server components or `<NuxtIsland>`, or if no island receives attacker-influenced string props. Server-rendered responses that are not cached by path alone are also unaffected. ### Patches Fixed in `[email protected]` and `@nuxt/[email protected]`. The island hash is now computed over a canonical JSON encoding of the tuple, in which strings and keys are escaped, so different props can no longer produce the same hash. Island hashes change as a result. Clients that build island URLs themselves should use the exported `getIslandHash` rather than hashing with `ohash` directly. Nuxt 3 has reached end of life and will not receive a fix. Upgrade to Nuxt 4. ### Workarounds - Ensure any intermediary cache keys `/__nuxt_island/*` on the full query string, not on the path alone. - Treat island props as untrusted input and do not pass them to `v-html` or other HTML sinks without sanitisation. - When prerendering, avoid including user-submitted links to `/__nuxt_island/` in crawled pages, for example by excluding that prefix with `nitro.prerender.ignore`: ```ts export default defineNuxtConfig({ nitro: { prerender: { ignore: [route => route.startsWith('/__nuxt_island/') && route.includes('?')], }, }, }) ``` ### Credits Thanks to rat5ak for reporting this issue.

References

Source records: GHSA-hf59-9xwc-2g4p (OSV.dev) · EPSS by FIRST, 2026-11-26.