Allocation of Resources Without Limits or Throttling Affecting @nuxt/content package, versions >=3.0.0 <3.15.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.35% (29th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NUXTCONTENT-22400858
  • published10 Nov 2026
  • disclosed6 Nov 2026
  • creditEQSTLab, MinKyeong Kim, Pig-Tail, maru1009

Introduced: 6 Nov 2026

NewCVE-2026-102650  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @nuxt/content to version 3.15.2 or higher.

Overview

@nuxt/content is a Write your content inside your Nuxt app

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the assertSafeQuery function in src/runtime/internal/security.ts, which validates the attacker-controlled sql field accepted by the unauthenticated POST /__nuxt_content/:collection/query endpoint in src/runtime/api/query.post.ts. The validator blocks only a short denylist of SQL command keywords and does not reject SQLite built-in functions such as randomblob(), zeroblob(), hex(), and length(). A remote attacker can submit a single request whose WHERE clause chains these functions to force SQLite to allocate hundreds of megabytes of memory and perform CPU-intensive work, which blocks the synchronous better-sqlite3 sink in src/runtime/internal/database.server.ts and stalls the entire Node.js event loop for the duration of the query.

Note: Fully static prerendered deployments that do not expose the server endpoint are not affected.

Workaround

If upgrading is not possible, block or restrict access to POST /__nuxt_content/*/query at the proxy or WAF level, or prerender the site so the endpoint is not deployed.

CVSS Base Scores

version 4.0
version 3.1