Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to Trello-mode draw.io editor
-
DeliveryVictim imports crafted malicious GraphML file
-
ExploitPollute prototype via refid/ResourceKey __proto__
-
ExecutionVictim invokes Trello integration firing jQuery gadget
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-117102
NVD
CVE.org
EPSS
GitHub
Exploit-DB