CVE-2026-71314: Nuxt: Unauthenticated out-of-memory crash via unbounded v-for expansion in island rendering
An unauthenticated attacker can crash a Nuxt server that renders any island / server component containing a v-for over a prop (for example v-for="n in count" or a <slot v-for>). Because the island URL hash is a non-secret digest of the request, the attacker can compute a valid hash for arbitrary props and send the iterated prop as a large integer. The server then expands the v-for to that many nodes during SSR, allocating memory proportional to the attacker’s number. Reporter figures: count=8000000 produced a 142.9 MB response; count=40000000 (and items=4000000 on a slot list) produced an out-of-memory crash of the worker from a single ~130-byte request. Both the plain v-for path (Vue’s ssrRenderList) and the slot path (vforToArray) are affected.
References
- github.com/advisories/GHSA-hxcr-hm88-mpq6
- github.com/nuxt/nuxt/commit/4e35ae9babd94be53246e31200232d48438bb34e
- github.com/nuxt/nuxt/commit/668cdfdfda41849ed11c1ee5e2067a11fc103b22
- github.com/nuxt/nuxt/releases/tag/v3.21.10
- github.com/nuxt/nuxt/releases/tag/v4.5.1
- github.com/nuxt/nuxt/security/advisories/GHSA-hxcr-hm88-mpq6
- nvd.nist.gov/vuln/detail/CVE-2026-71314
Code Behaviors & Features
Detect and mitigate CVE-2026-71314 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →