Technical impact
The GraphML decoder in draw.io prior to 31.1.5 is vulnerable to prototype pollution. Attacker‑controlled GraphML reference keys can target inherited object properties, including prototypes, allowing the decoder to assign attacker‑controlled attributes. This client‑side prototype pollution can be leveraged in an XSS chain when the editor is opened in Trello mode and the Trello integration is invoked, enabling malicious script execution in the draw.io origin. No existing Trello connection is required.
Affected Systems
This vulnerability affects the jgraph:drawio product. Versions earlier than 31.1.5 are susceptible. The fix is delivered in version 31.1.5 and later.
Risk and Exploitability
The CVSS v3 score of 6.1 indicates a moderate severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The likely attack vector is the import of a malicious GraphML file, potentially when users open files in Trello mode. An attacker could execute arbitrary JavaScript in the draw.io origin, leading to data theft or further exploitation. The vulnerability remains client‑side, so it requires the victim to load the malicious file in a browser that supports the editor.