Nuxt Content is the file-based CMS for Nuxt applications, powered by Markdown and Vue components.
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.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Nuxt
- Product
- content
- CVSS v3.1
- 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Fix
- available
- Weakness
- CWE-400, CWE-770
- Exposure class
- Database, Developer platform
- NVD status
- Received
Why it ranks 35 (Notable)
- CVSS v3.1 7.5 high
- Product class: database, developer platform
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.