Description
Nuxt is an open-source web development framework for Vue.js. From 4.6.0 until 4.6.4, Nuxt parses a request path beginning with // as a URL host before rendering a page, while Nitro server/middleware and routeRules continue to evaluate the original path. An unauthenticated request such as //x/admin can therefore resolve to the /admin page without route-scoped serverHandlers, server/middleware path checks, redirects, or security headers configured for /admin. API handlers in server/api and server/routes, appMiddleware, page middleware are unaffected. This issue is fixed in version 4.6.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| @clerk | nuxt | 4.6.0, < 4.6.4 | — |
| @nuxt | nitro-server | 4.6.0, < 4.6.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @nuxt/nitro-server | >= 4.6.0, < 4.6.4 | 4.6.4 | GHSA-r99w-jh2x-3mg9 |