Servers and applications
GHSA-jxc9-w3j6-pwp2
Nuxt route rules for a page are not applied to its `_payload.json`, so redirects, proxies, headers and cache exclusions can be bypassed
- Severity
- Medium 6.5
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 3.20.0, 4.2.0
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Sources
- Project advisories (GitHub)
Description
Route rules set for a page's own path are not applied to the page's payload URL (/_payload.json). When a catch-all rule caches pages, that URL falls back to the catch-all rule and renders the page anyway. This skips the page's redirect, proxy, headers, ssr: false and cache exclusion rules, and returns the data the page fetched during server rendering as cacheable JSON.
With the following configuration:
GET /admin redirects to /login and GET /internal is proxied, but GET /admin/_payload.json and GET /internal/_payload.json render those pages on the server and respond with 200 and the data the page fetched with useFetch or useAsyncData, without the configured headers. GET /account is not cached, but GET /account/_payload.json is returned with the cache headers of the '/**' rule.
An application is affected only if all of the following are true:
Workarounds
Add a wildcard rule with the same value next to each exact-path rule, so the payload URL is covered:
For a single-segment wildcard such as '/team/*', add '/team/**'. Access checks in server middleware, in route middleware attached with definePageMeta, or in the API the page fetches from are not affected, and are the more robust place to enforce access. If personal pages may already have been cached, purge the CDN cache after upgrading or applying the workaround.
Affected software
| Software | Affected versions |
|---|---|
NuxtServers and applications · github:nuxt/nuxt |
|
About Nuxt
JavaScript framework
- Developers who used it in the past year
- 4%Stack Overflow Developer Survey 2025, 2025
- Weekly downloads (npm)
- 3,545,145npm, 22 Nov 2026
- GitHub stars
- 61,096GitHub, 22 Nov 2026
- Forks
- 5,828GitHub, 22 Nov 2026
- Latest release
- v4.6.4GitHub, 22 Nov 2026
- Released
- 2 Nov 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- JavaScript, Vue.jsWikidata
- First published on GitHub
- 26 Oct 2016GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 4 | 4.6.4 | Yes |
| 3 | 3.21.11 | Ended 31 Jul 2026 |
| 2 | 2.18.1 | Ended 30 Jun 2024 |
| 1 | 1.4.5 | Ended 21 Sept 2019 |
From endoflife.date.
Vulnerabilities in Nuxt
- In our list
- 45
- Published in the last 12 months
- 42
- Critical, last 12 months
- 1
- High, last 12 months
- 8
- Known exploited
- 0
- GHSA-h5xj-x893-p5f7Nuxt dev server exposes private runtime config through earlier Nitro build outputLow 3.7 24 Nov 2026
- GHSA-vrh2-cfcx-c3fgIncomplete fix for GHSA-f3x9-2chm-73c8: a repeated or leading encoded slash in the request path bypasses route rules on catch-all page routesMedium 6.5 24 Nov 2026
- CVE-2023-54417Nuxt 3.0.0 < 3.4.2 Unauthenticated File Read via vite-node Dev ServerHigh 8.7 18 Nov 2026
- CVE-2023-54418Nuxt 3.0.0-rc.1 < 3.0.0-rc.13 Unauthenticated Arbitrary File Read via Vite Dev ServerHigh 8.7 18 Nov 2026
- CVE-2026-128077Nuxt: Incomplete fix for GHSA-9v7c-q64q-vv33: a leading `//` in the request path bypasses `server/middleware` path checks and server route rules on page routesMedium 6.5 2 Nov 2026
- CVE-2026-128076Nuxt: Colliding island props can share one `/__nuxt_island` path (incomplete fix for CVE-2026-46342)Low 3.1 2 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-jxc9-w3j6-pwp2
- github.com https://github.com/nuxt/nuxt/security/advisories/GHSA-jxc9-w3j6-pwp2