Skip to main content

draw.io EUVDEUVD-2026-117102

| CVE-2026-115762 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-04 GitHub_M
6.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to Trello-mode draw.io editor
  2. Delivery
    Victim imports crafted malicious GraphML file
  3. Exploit
    Pollute prototype via refid/ResourceKey __proto__
  4. Execution
    Victim invokes Trello integration firing jQuery gadget
  5. Impact
    Execute attacker script in draw.io origin

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Exploitation requires the draw.io editor to be opened in Trello mode (the ?mode=trello parameter) and the victim to import an attacker-supplied GraphML file whose key uses refid='__proto__' or a child y:GraphMLReference with ResourceKey='__proto__', after which the victim must invoke the Trello integration (File > Open from > Trello) to fire the jQuery gadget that turns the polluted prototype into script execution. An existing Trello account/connection is NOT required because the pollution persists via localStorage. Limiting factors that reduce realistic risk: the attack depends on UI:R social engineering across several explicit steps (import, dismiss error, open-from-Trello); the non-default Trello mode must be in use; and the issue is fully fixed in 31.1.5, so updating eliminates it.

Impact

This is a medium-severity (CVSS 6.1) client-side vulnerability whose real-world risk is moderate and gated by user interaction, not a drive-by. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) correctly reflects a network-delivered but victim-driven attack: PR:N means no authentication, but UI:R is doing heavy lifting - the advisory's own PoC requires the victim to open the editor in Trello mode, import the malicious file, dismiss an error, and then manually invoke File > Open from > Trello. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent issue. No EPSS score and no KEV status are present in the provided data, so exploitation probability cannot be quantified and there is no evidence of active exploitation; absence of these signals is not itself a risk indicator. A detailed, working-looking PoC is published in the GHSA advisory, which raises likelihood of opportunistic exploitation above a theoretical bug, but the multi-step user interaction and the requirement to be in Trello mode meaningfully limit scalability. Net: a legitimate patch-this-cycle item, not a fire-drill; priority is driven by product popularity and the published PoC rather than by severity signals, which are mid-range.

Exploit ScenarioDerived

An attacker crafts a malicious GraphML file containing a key with refid='__proto__' (or a y:GraphMLReference with ResourceKey='__proto__') plus attacker-controlled attributes such as a jQuery gadget payload, and convinces a victim to import it into a draw.io editor opened in Trello mode. After import, when the victim opens the Trello integration (File > Open from > Trello), the polluted prototype feeds an attacker-controlled HTML payload into jQuery, executing arbitrary script in the draw.io origin (alert(origin) in the PoC). A step-by-step PoC is published in the GHSA advisory; no existing Trello connection is required because pollution persists via localStorage.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 04, 2026

Importing a crafted GraphML diagram into draw.io before 31.1.5 pollutes JavaScript object prototypes in the editor and, in the vendor-documented Trello chain, escalates to script execution in the draw.io origin. The issue is client-side: the CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, 6.1) means no credentials are needed on the network side, but the victim must be socially engineered through several explicit steps - opening the editor with the non-default ?mode=trello parameter, dragging in the malicious file, closing the resulting error dialog, then choosing File > Open from > Trello. An existing Trello account or connection is not required, because the polluted state is persisted in localStorage; the vendor advisory publishes a public PoC reference for this chain, but it is not verified as working exploit code and there is no confirmed active exploitation (not in CISA KEV).

RemediationAI

Upgrade draw.io to version 31.1.5 or later, the release in which the prototype-pollution defence was added (upstream commit 3b4210678207f3880888969ee53c9fe4580104ab, tracked as GHSA-vvpv-f297-2ghp); self-hosted instances should be rebuilt from the 31.1.5 tag and desktop users should move to the corresponding 31.1.5 desktop build, since the vulnerable code lives in the shared webapp bundle. Until that upgrade is deployed, the practical containment points that the evidence supports are to stop exposing the editor in Trello mode (removing or blocking use of the ?mode=trello entry point, which the attack chain depends on) and to prevent untrusted GraphML files from being imported into the editor - with the trade-off that both measures break the Trello integration and third-party diagram import workflows for users. Clearing browser localStorage for the draw.io origin removes any already-persisted polluted state, but does not fix the underlying decoder. Vendor advisory: https://github.com/jgraph/drawio/security/advisories/GHSA-vvpv-f297-2ghp

Affected VersionsENISA

drawio < 31.1.5

Affected Packages

euvd drawio fix: 31.1.5

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

The flaw is a JavaScript prototype-pollution bug (CWE-1321) in the GraphML decoder mxGraphMlCodec.js, which resolves GraphML reference keys before copying the attributes of the <key> element onto the referenced object. A key with refid="__proto__" - or a <key> containing a child <y:GraphMLReference ResourceKey="__proto__"> - makes the decoder treat an inherited/prototype object (including Object.prototype itself) as the assignment target, so attacker-supplied attribute names and values such as trello_token, jquery and context are written directly onto the prototype instead of onto a plain data object. That polluted prototype then travels into the application's client state, where the Trello integration code (TrelloClient.js) uses jQuery; the supplied jquery/context attribute pair acts as a known client-side prototype-pollution gadget that turns the polluted property into HTML insertion, yielding XSS in the draw.io origin. Because the pollution is written into localStorage, it survives without a live Trello session, which is why the advisory notes an existing Trello connection is unnecessary. The vulnerable decoder path is the same for both the refid attribute form and the nested y:GraphMLReference form; the trigger described by the vendor is the GraphML import itself, with script execution occurring when the Trello integration is subsequently invoked. The upstream fix commit is 3b4210678207f3880888969ee53c9fe4580104ab, shipped in release 31.1.5.

Know when Prototype Pollution 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 (GitHub_M) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Malicious file is network-delivered with no auth (AV:N/PR:N) but needs victim import plus a Trello action (UI:R); XSS executes in the draw.io origin crossing a trust boundary (S:C) with limited read/modify impact (C:L/I:L).

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:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 22:17 EUVD
CVE Published
Nov 04, 2026 - 20:54 cve.org
MEDIUM 6.1

DescriptionCVE.org

draw.io is a configurable diagramming and whiteboarding application. Prior to 31.1.5, the GraphML decoder contains a prototype-pollution vulnerability. Attacker-controlled GraphML reference keys can address inherited object properties, including prototype objects, and the decoder can then assign attacker-controlled attributes to those objects. Importing a malicious GraphML file can trigger client-side prototype pollution. In the advisory-supported cross-site scripting chain, the editor is opened in Trello mode and the user invokes the Trello integration after the import, allowing the polluted state to execute script in the draw.io origin; an existing Trello connection is not required. This vulnerability is fixed in 31.1.5.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
very popular web diagramming app, widely embedded in Confluence and Google Workspace
Data Quality
5 sources
Confidence: Medium

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 No
EPSS 0.2%
Patch available Yes
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
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.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

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