6.2medium
Next AI Draw.io: Unbounded HTTP Body — Denial of Service
- Severity
- 6.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 3% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Next AI Draw.io is a next.js web application that integrates AI capabilities with draw.io diagrams. Prior to 0.4.15, the embedded HTTP sidecar contains three POST handlers (/api/state, /api/restore, and /api/history-svg) that process incoming requests by accumulating the entire request body into a JavaScript string without any size limitations. Node.js buffers the entire payload in the V8 heap. Sending a sufficiently large body (e.g., 500 MiB or more) will exhaust the process heap memory, leading to an Out-of-Memory (OOM) error that crashes the MCP server. This vulnerability is fixed in 0.4.15.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DayuanJiang next-ai-draw-io | < 0.4.15 | CVE List |
| dayuanjiang next_ai_draw.io | before 0.4.15 | NVD |
All scores
| GitHub_M | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Next AI Draw.io is a next.js web application that integrates AI capabilities with draw.io diagrams. Prior to 0.4.15, the embedded HTTP sidecar contains three POST handlers (/api/state, /api/restore, and /api/history-svg) that process incoming requests by accumulating the entire request body into a JavaScript string without any size limitations. Node.js buffers the entire payload in the V8 heap. Sending a sufficiently large body (e.g., 500 MiB or more) will exhaust the process heap memory, leading to an Out-of-Memory (OOM) error that crashes the MCP server. This vulnerability is fixed in 0.4.15.
NVD (es)
Next AI Draw.io es una aplicación web next.js que integra capacidades de IA con diagramas de draw.io. Antes de la versión 0.4.15, el sidecar HTTP incrustado contiene tres manejadores POST (/API/state, /API/restore y /API/history-svg) que procesan las solicitudes entrantes acumulando el cuerpo completo de la solicitud en una cadena de JavaScript sin limitaciones de tamaño. Node.js almacena en búfer la carga útil completa en el heap de V8. Enviar un cuerpo suficientemente grande (por ejemplo, 500 MiB o más) agotará la memoria heap del proceso, lo que provocará un error de falta de memoria (OOM) que bloquea el servidor MCP. Esta vulnerabilidad se corrige en la versión 0.4.15.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40608 changed 2026-04-21 | CVE Terms of Use |
| NVD | CVE-2026-40608 changed 2026-10-26 | Public domain |