Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-47200Nuxt: Route middleware not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*`
Medium 6.3
In plain English
A medium-severity improper access control in nuxt from nuxt. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% 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.11.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, when experimental.componentIslands is enabled (default in Nuxt 4), any .server.vue file under pages/ is automatically registered as a server island under the key page_<routeName> and exposed via the /__nuxt_island/:name endpoint. Until this fix, requests through that endpoint rendered the page component directly via the SSR renderer without instantiating Vue Router, which meant route middleware declared on the page (including definePageMeta({ middleware })) did not run. 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-hg3f-28rg-4jxj |
| npm | @nuxt/nitro-server | 4.4.6 | GHSA-hg3f-28rg-4jxj |
| npm | nuxt | 3.21.6 | GHSA-hg3f-28rg-4jxj |
| npm | nuxt | 4.4.6 | GHSA-hg3f-28rg-4jxj |
Affected products (as reported)
Weakness: CWE-284, CWE-288 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-hg3f-28rg-4jxj x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/pull/35092 x_refsource_MISC