Vulnerability library
Security checkJuly 08, 2026

Nuxt's route middleware is not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*`

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@nuxt/nitro-server

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @nuxt/nitro-server package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 4.2.0, <= 4.4.5 >= 3.20.0, <= 3.21.5**
  • Patched version(s): **4.4.6 3.21.6**

References

Could your website be exposed too?

SmartScanner can check your website for Nuxt's route middleware is not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 08, 2026