CVE Explorer
CVE-2026-40608
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, leadin
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"next-ai-draw-io","vendor":"DayuanJiang","versions":[{"status":"affected","version":"< 0.4.15"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/DayuanJiang/next-ai-draw-io/commit/31819f413cc4b329a1cb81e5fccd0cd98c1fd665","tags":["x_refsource_MISC"],"url":"https://github.com/DayuanJiang/next-ai-draw-io/commit/31819f413cc4b329a1cb81e5fccd0cd98c1fd665"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/cna/references/1
{"name":"https://github.com/DayuanJiang/next-ai-draw-io/security/advisories/GHSA-9q7h-wgfw-p378","tags":["x_refsource_CONFIRM"],"url":"https://github.com/DayuanJiang/next-ai-draw-io/security/advisories/GHSA-9q7h-wgfw-p378"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/DayuanJiang/next-ai-draw-io/security/advisories/GHSA-9q7h-wgfw-p378"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:46c967e67030d1c70ea12217bc0b177bb0196622468c671923c7726f4f961a93 · sha256:cbc41b21997f2205… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.