CVE-2026-128076: Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)
Summary The fix for CVE-2026-46342 (GHSA-g8wj-3cr3-6w7v) binds each /nuxtisland/ .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.
Published Nov 16, 2026
Affected packages
nuxt
- Ecosystem
- npm
- Affected
- >= 4.4.6, < 4.6.4
- Fixed in
- 4.6.4
- Check
npm ls nuxt
nuxt
- Ecosystem
- npm
- Affected
- >= 3.21.6, < 4.0.0
- Fixed in
- No patched version yet
- Check
npm ls nuxt
@nuxt/nitro-server
- Ecosystem
- npm
- Affected
- >= 4.4.6, < 4.6.4
- Fixed in
- 4.6.4
- Check
npm ls @nuxt/nitro-server
@nuxt/nitro-server
- Ecosystem
- npm
- Affected
- >= 3.21.6, < 4.0.0
- Fixed in
- No patched version yet
- Check
npm ls @nuxt/nitro-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
{ html: '', note: '' }
{ html: '\',note:\'' }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-htmlor other HTML sinks without sanitisation. - When prerendering, avoid including user-submitted links to
/__nuxt_island/in crawled pages, for example by excluding that prefix withnitro.prerender.ignore:
export default defineNuxtConfig({
nitro: {
prerender: {
ignore: [route => route.startsWith('/__nuxt_island/') && route.includes('?')],
},
},
})Credits
Thanks to rat5ak for reporting this issue.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128071
Nuxt: Incomplete fix for GHSA-6gq8-jgmh-3ffp: an encoded slash (`%2F`) in the request path bypasses route rules on catch-all page routes
medium6.5No fixNov 16, 2026CVE-2026-128074
Nuxt payload URL generation has quadratic cost for repeated slashes in the request path
medium6.9Nov 16, 2026CVE-2026-128075
Nuxt exposes the message and data of unhandled errors thrown during server rendering
medium5.3No fixNov 16, 2026CVE-2026-128077
Nuxt: Incomplete fix for GHSA-9v7c-q64q-vv33: a leading `//` in the request path bypasses `server/middleware` path checks and server route rules on page routes
medium6.5Nov 13, 2026CVE-2026-119200
Nuxt: Dot segments in the request path bypass `server/middleware` path checks and server route rules on page routes
medium6.5Oct 30, 2026CVE-2026-114130
Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabled
low2.3Oct 22, 2026
