CVE-2026-50758
HighCVSS 8.1Exploitation Probability (EPSS)
Elevated risk54th percentile - higher than 54% of all known CVEs
Summary
Cross Site Scripting vulnerability in DayuanJiang next-ai-draw-io 0.4.13 allows a remote attacker to execute arbitrary code via the mcp parameter.
Risk Assessment
An attacker can inject malicious scripts, potentially leading to session theft, defacement, or other attacks on users.
Recommendation
Update next-ai-draw-io to a patched version or apply proper input filtering.
Other vulnerabilities in next-ai-draw-io
See all- CVE-2026-50755Critical
An issue in DayuanJiang next-ai-draw-io version 0.4.13 allows a remote attacker to obtain sensitive information via the X-Forwarded-For header.
- CVE-2026-73037Medium
Next AI Draw.io 0.2.1 through 0.4.16 contains a reflected cross-site scripting vulnerability in the mcp query parameter that is interpolated without escaping into HTML and JavaScript. Attackers can craft malicious URLs to execute arbitrary JavaScript in the localhost origin, enabling exfiltration of diagram sessions and API data.
- CVE-2026-72777High
Next AI Draw.io through 0.4.16 contains a server-side request forgery vulnerability in the POST /api/parse-url endpoint due to hostname validation that only checks string patterns without DNS resolution. Unauthenticated attackers can supply hostnames that bypass string validation but resolve to internal addresses, allowing them to reach arbitrary internal HTTP services and exfiltrate responses including cloud metadata.
- CVE-2026-50757High
Directory Traversal vulnerability in DayuanJiang next-ai-draw-io 0.4.13 allows a remote attacker to execute arbitrary code via the nex-ai-draw-io/mcp-server.
- CVE-2026-50756High
An issue in DayuanJiang next-ai-draw-io 0.4.13 allows a remote attacker to obtain sensitive information via the x-ai-provider component.
- CVE-2026-40608Medium
In Next AI Draw.io before 0.4.15, the embedded HTTP sidecar contains three POST handlers that accumulate the entire request body into memory without size limits. Sending a sufficiently large body (e.g., 500 MiB) exhausts the process heap and crashes the MCP server with an Out-of-Memory error.
Original NVD description (English source)
Cross Site Scripting vulnerability in DayuanJiang next-ai-draw-io 0.4.13 allows a remote attacker to execute arbitrary code via the mcp parameter
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

