Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-46342Nuxt: `__nuxt_island` endpoint does not bind responses to request props, enabling shared-cache poisoning
Low 2.3
In plain English
A low-severity cross-site scripting in nuxt from nuxt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 0% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nuxt/nitro-server | 3.21.6 | GHSA-g8wj-3cr3-6w7v |
| npm | @nuxt/nitro-server | 4.4.6 | GHSA-g8wj-3cr3-6w7v |
| npm | nuxt | 3.21.6 | GHSA-g8wj-3cr3-6w7v |
| npm | nuxt | 4.4.6 | GHSA-g8wj-3cr3-6w7v |
Affected products (as reported)
Weakness: CWE-79, CWE-349, CWE-444 · 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
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-g8wj-3cr3-6w7v x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/pull/35077 x_refsource_MISC