Improper Validation of Specified Quantity in Input Affecting nuxt package, versions >=3.1.0 <3.21.10>=4.0.0 <4.5.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NUXT-18565122
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditmanop55555

Introduced: 5 Aug 2026

NewCVE-2026-71314  (opens in a new tab)
CWE-1284  (opens in a new tab)
CWE-770  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade nuxt to version 3.21.10, 4.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via the v-for in server-side rendering of islands or server components. An attacker can cause the server to allocate excessive memory and crash by sending a request with a large integer value for a prop used in v-for, leading to unbounded expansion during rendering. This can be exploited remotely without authentication by crafting requests that trigger excessive iteration counts in the rendering logic.

Workaround

This vulnerability can be mitigated by clamping the prop value used in v-for within server components (e.g., using v-for="n in Math.min(count, 1000)"), or by avoiding the use of v-for directly over an unclamped prop.

CVSS Base Scores

version 4.0
version 3.1