{"id":"CVE-2026-128076","aliases":["CVE-2026-128076","GHSA-hf59-9xwc-2g4p"],"related":[],"kind":"vulnerability","state":"published","title":"Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)","summary":"Nuxt is an open-source web development framework for Vue.js. From 3.21.6 to before 4.0.0 and from 4.4.6 until 4.6.4, the /__nuxt_island path hash uses ohash serialization that does not escape quotes in string values or delimiters in object keys, allowing different island-prop tuples to produce the same path. For prerendering, substituted content is written into the generated page only if the crawler reaches a colliding URL before rendering the page with the legitimate props. Separately, a CDN or reverse proxy that keys island responses by path alone can be primed with the colliding response. If the substituted prop reaches v-html, innerHTML, or another unsafe HTML sink, the response can execute script in the application origin; otherwise the impact is content substitution. Applications that do not use server components or NuxtIsland, islands without attacker-influenced string props, and responses not cached by path alone are unaffected. This issue is fixed in version 4.6.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nuxt is an open-source web development framework for Vue.js. From 3.21.6 to before 4.0.0 and from 4.4.6 until 4.6.4, the /__nuxt_island path hash uses ohash serialization that does not escape quotes in string values or delimiters in object keys, allowing different island-prop tuples to produce the same path. For prerendering, substituted content is written into the generated page only if the crawler reaches a colliding URL before rendering the page with the legitimate props. Separately, a CDN or reverse proxy that keys island responses by path alone can be primed with the colliding response. If the substituted prop reaches v-html, innerHTML, or another unsafe HTML sink, the response can execute script in the application origin; otherwise the impact is content substitution. Applications that do not use server components or NuxtIsland, islands without attacker-influenced string props, and responses not cached by path alone are unaffected. This issue is fixed in version 4.6.4.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe 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.\n\n### Impact\n\nFor example, these two prop objects serialize identically and share one island path:\n\n```js\n{ html: '', note: '<img src=x onerror=\"alert(1)\">' }\n{ html: '\\',note:\\'<img src=x onerror=\"alert(1)\">' }\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 `<NuxtIsland>`, 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({\n  nitro: {\n    prerender: {\n      ignore: [route => route.startsWith('/__nuxt_island/') && route.includes('?')],\n    },\n  },\n})\n```\n\n### Credits\n\nThanks to rat5ak for reporting this issue.","format":"markdown","source":"ghsa"}],"published":"2026-11-13T17:38:34.081Z","modified":"2026-11-18T04:17:13.870Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"}],"cwes":["CWE-116","CWE-349"],"affected":[{"ranges":[{"version":">= 3.21.6, < 4.0.0","status":"affected"},{"version":">= 4.4.6, < 4.6.4","status":"affected"}],"vendor":"nuxt","product":"nuxt","source":"cvelist"},{"ranges":[{"version":">= 3.21.6, < 4.0.0","status":"affected"},{"version":">= 4.4.6, < 4.6.4","status":"affected"}],"vendor":"@nuxt","product":"nitro-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.4.6","status":"affected","fixed":"4.6.4"}],"ecosystem":"npm","package":"nuxt","purl":"pkg:npm/nuxt","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.21.6","status":"affected"}],"ecosystem":"npm","package":"nuxt","purl":"pkg:npm/nuxt","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.4.6","status":"affected","fixed":"4.6.4"}],"ecosystem":"npm","package":"@nuxt/nitro-server","purl":"pkg:npm/%40nuxt/nitro-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.21.6","status":"affected"}],"ecosystem":"npm","package":"@nuxt/nitro-server","purl":"pkg:npm/%40nuxt/nitro-server","source":"ghsa"}],"references":[{"url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-hf59-9xwc-2g4p","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nuxt/nuxt/commit/6f1b93c643355688bc9e2d7434723f7fd3f25092","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nuxt/nuxt/releases/tag/v4.6.4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128076","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nuxt/nuxt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-18T03:58:37.505Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-128076","url":"https://www.cve.org/CVERecord?id=CVE-2026-128076","licence":"CVE Terms of Use","modified":"2026-11-18T03:58:48.339Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hf59-9xwc-2g4p","url":"https://github.com/advisories/GHSA-hf59-9xwc-2g4p","licence":"CC-BY-4.0","modified":"2026-11-16T15:15:04.090Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-128076","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128076","licence":"Public domain","modified":"2026-11-18T04:17:13.870Z"}],"updatedAt":"2026-11-25T22:59:50.760Z","epss":{"score":0.00144,"percentile":0.0389,"date":"2026-12-01T12:00:22.000Z"}}