Nuxt Content: Unauthenticated SQLite Function DoS via Content Query API
- CVE-2026-102650
- GHSA-xxrh-5hgg-gj4h
- EUVD-2026-118389
Description
Nuxt Content is the file-based CMS for Nuxt applications, powered by Markdown and Vue components. From 3.0.0 until 3.15.2, the unauthenticated POST /__nuxt_content/:collection/query endpoint accepts an attacker-controlled sql field in src/runtime/api/query.post.ts and permits expensive SQLite expressions. Version 3.0.0 performed no query validation; in affected releases using assertSafeQuery in src/runtime/internal/security.ts, the reported validation gap rejects a short list of SQL command keywords in WHERE clauses but permits function calls including randomblob(), zeroblob(), hex(), and length(). The query reaches the synchronous better-sqlite3 sink in src/runtime/internal/database.server.ts, allowing a single remote request to consume substantial CPU and memory while blocking the Node.js event loop and all concurrent request handling. Fully static prerendered deployments that do not expose the server endpoint are not affected. This issue is fixed in version 3.15.2.
Text from the CVE.org record.
Recommendation
@nuxt/content
- If you run a version from 3.0.0 to before 3.15.2update to 3.15.2 or laterMinor version change: check the release notes@nuxt/content 3.15.2 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
nuxt content
Affected versions Fixed in >= 3.0.0, < 3.15.2 none stated @nuxt/contentnpm
Affected versions Fixed in from 3.0.0 to before 3.15.2 3.15.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.