{"vuln_id":"CVE-2026-46342","aliases":[],"description":"Nuxt is an open-source web development framework for Vue.js. In Nuxt versions 3.1.0 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6 and @nuxt/nitro-server versions 3.20.0 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, the /__nuxt_island/* endpoint accepts attacker-controlled props query/body parameters and renders any island component without verifying that the URL-resident hash (<Name>_<hashId>.json) was actually issued for those inputs by <NuxtIsland>. The hash is computed and embedded client-side but never validated server-side, so the same path can return materially different responses depending on the query. This issue has been patched in versions 3.21.6 and 4.4.6.","published_at":"2026-06-12T14:16:31.590000Z","modified_at":"2026-06-17T10:53:35.220000Z","first_seen_at":"2026-11-21T19:15:20.334185Z","severity":"low","severity_source":"nvd","cvss_score":2.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-79","CWE-349","CWE-444"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00091,"epss_percentile":0.00433,"nvd_status":"Analyzed","enriched_at":"2026-11-22T13:34:49.575931Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46342"},"matched_alias":null,"items":[{"id":2591,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-hf59-9xwc-2g4p / CVE-2026-128076: Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)","summary":"Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)\n\n### Summary\n\nThe fix for CVE-2026-46342 (GHSA-g8wj-3cr3-6w7v) binds each `/__nuxt_island/\n_\n.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.\n\n### Impact\n\nFor example, these two prop objects serialize identically and share one island path:\n\n```js\n{ html: '', note: '\n' }\n{ html: '\\',note:\\'\n' }\n```\n\nThis reopens the scenarios described in GHSA-g8wj-3cr3-6w7v:\n\n- **`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.\n- **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.\n\nAn 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.\n\nApplications are not affected if they do not use server components or `\n`, or if no island receives attacker-influenced string props. Server-rendered responses that are not cached by path alone are also unaffected.\n\n### Patches\n\nFixed in `nuxt@4.6.4` and `@nuxt/nitro-server@4.6.4`. 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.\n\nIsland hashes change as a result. Clients that build island URLs themselves should use the exported `getIslandHash` rather than hashing with `ohash` directly.\n\nNuxt 3 has reached end of life and will not receive a fix. Upgrade to Nuxt 4.\n\n### Workarounds\n\n- Ensure any intermediary cache keys `/__nuxt_island/*` on the full query string, not on the path alone.\n- Treat island props as untrusted input and do not pass them to `v-html` or other HTML sinks without sanitisation.\n- When prerendering, avoid including user-submitted links to `/__nuxt_island/` in crawled pages, for example by excluding that prefix with `nitro.prerender.ignore`:\n\n```ts\nexport default defineNuxtConfig({\nnitro: {\nprerender: {\nignore: [route => route.startsWith('/__nuxt_island/') && route.includes('?')],\n},\n},\n})\n```\n\n#\n\nAffected packages: npm:@nuxt/nitro-server, npm:nuxt\nPatched: nuxt 4.6.4, @nuxt/nitro-server 4.6.4","url":"https://github.com/advisories/GHSA-hf59-9xwc-2g4p","published_at":"2026-11-16T15:02:22Z","updated_at":"2026-11-16T15:02:23Z","fetched_at":"2026-11-21T19:15:18.416958Z","severity":"low","cvss_score":3.1,"epss":0.00116,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"nuxt","vuln_id":"CVE-2026-128076","vuln_ids":["CVE-2026-128076","CVE-2026-46342","GHSA-G8WJ-3CR3-6W7V","GHSA-HF59-9XWC-2G4P"],"tags":["ghsa","npm","CWE-116","CWE-349"],"cluster_id":2630,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2591","html":"https://vulnwatch.ve1ve2.com/item/2591"}}]}