New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

GHSA-hxcr-hm88-mpq6

GHSA: GHSA-hxcr-hm88-mpq6

CVE: CVE-2026-71314

Patch Available (205)

Summary

HIGH

Nuxt: Unauthenticated out-of-memory crash via unbounded v-for expansion in island rendering

Details

Impact

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.

Patches

Fixed in nuxt@4.5.1 and nuxt@3.21.10. Island/server-component v-for sources are now clamped to a maximum iteration count (MAX_VFOR_LENGTH = 100000) at the render boundary, covering the plain path, the <slot v-for> element, and the vforToArray slot-props helper. Combined with the body-size cap (GHSA-9pgf-384g-p7mv), a single island render can no longer allocate without bound regardless of which v-for path is used or whether the prop arrives as an integer or an array.

Workarounds

Avoid v-for directly over an unclamped prop in server components, or clamp the count in the component (v-for="n in Math.min(count, 1000)"). A body-size limit in front of /__nuxt_island/ only mitigates array-shaped inputs, not the integer-amplification case.

References

  • Bound helper: packages/nuxt/src/app/components/vfor.ts
  • Transform: packages/nuxt/src/components/plugins/islands-transform.ts
  • Slot helper: packages/nuxt/src/app/components/utils.ts (vforToArray)

Metadata

Published:

8/5/2026

Modified:

8/5/2026

CVSS Vector:

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS - Exploit Prediction Scoring System

Probability that this vulnerability will be exploited in the wild in the next 30 days

Current Exploitation Probability

0.91%

60.0th percentile

Low Risk

As of 11&#x2F;3&#x2F;2026

EPSS scores are updated daily and represent the probability (0-100%) that a CVE will be exploited in the next 30 days. Higher scores indicate higher risk.

CWEs (Common Weakness Enumeration)

CWE-1284

Improper Validation of Specified Quantity in Input

Abstraction Level:

Base

Description:

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Extended Description:

Specified quantities include size, length, frequency, price, rate, number of operations, time, and others.

Related Weaknesses:

CWE-20CWE-20CWE-789
CWE-400

Uncontrolled Resource Consumption

Abstraction Level:

Class

Description:

The product does not properly control the allocation and maintenance of a limited resource.

Likelihood of Exploit:

High

Related Weaknesses:

CWE-664
CWE-770

Allocation of Resources Without Limits or Throttling

Abstraction Level:

Base

Description:

The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Likelihood of Exploit:

High

Related Weaknesses:

CWE-400CWE-665CWE-400
CWE-789

Memory Allocation with Excessive Size Value

Abstraction Level:

Variant

Description:

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Related Weaknesses:

CWE-770CWE-476

Affected Packages (0)