---
id: CVE-2026-115762
title: 'draw.io: Prototype pollution in GraphML (mxGraphMlCodec)'
summary: >-
  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, i…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-1321
vendor: jgraph
product: drawio
affected:
  - drawio < 31.1.5
published: '2026-11-04'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T20:54:51.974Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115762'
references:
  - url: 'https://github.com/jgraph/drawio/security/advisories/GHSA-vvpv-f297-2ghp'
    label: 'https://github.com/jgraph/drawio/security/advisories/GHSA-vvpv-f297-2ghp'
  - url: >-
      https://github.com/jgraph/drawio/commit/3b4210678207f3880888969ee53c9fe4580104ab
    label: >-
      https://github.com/jgraph/drawio/commit/3b4210678207f3880888969ee53c9fe4580104ab
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.573Z'
epss: 0.00167
epssPercentile: 0.05992
---

## Overview

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.

## Affected

- `drawio < 31.1.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
