MODERATE 6.1

CVE-2026-115762

draw.io: Prototype pollution in GraphML (mxGraphMlCodec)

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.webjars.bowergithub.jgraph » drawiopreliminary
< 31.1.5< 3b4210678207f3880888969ee53c9fe4580104ab
31.1.5, 3b4210678207f3880888969ee53c9fe4580104ab

Blast radius

1affected artifacts
2affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.