CVE-2026-115762

draw.io: Prototype pollution in GraphML (mxGraphMlCodec)

Published Nov 4, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update draw.io to version 31.1.5 or newer to apply the prototype‑pollution fix.
  • If an upgrade is not feasible, avoid importing untrusted GraphML files and consider disabling Trello integration when handling such files.
  • Apply a strict Content‑Security‑Policy that blocks inline scripts and restricts script sources to trusted origins to reduce the impact of any remaining XSS vectors.

Generated by OpenCVE AI on November 4, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jgraph
Jgraph drawio
Vendors & Products Jgraph
Jgraph drawio
Type Values Removed Values Added
Description 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.
Title draw.io: Prototype pollution in GraphML (mxGraphMlCodec)
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 4:58 PM
Reserved
Oct 23, 2026, 1:28 PM
Status
Awaiting Analysis
Published
Nov 4, 2026, 9:17 PM
Modified
Nov 12, 2026, 8:04 PM