MODERATE 4.2

CVE-2026-63373

draw.io: OAuth CSRF via missing state validation on self-hosted deployments allows session token injection

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 version 30.2.7, the OAuth callback handler in src/main/java/com/mxgraph/online/AbsAuth.java skips comparison of stateToken and cookieToken whenever IS_GAE is false, which affects self-hosted Docker and WAR deployments. An attacker can provide an authorization code for the attacker's cloud-storage identity and induce a victim to visit a callback URL, causing the victim's draw.io session to become authenticated as the attacker identity without a valid state binding. The shared handler affects Google Drive, OneDrive, GitHub, GitLab, and Dropbox integrations. The victim can then unknowingly perform cloud-storage actions under the attacker's identity, causing session integrity loss and misattribution, but the identity binding does not itself grant access to existing victim cloud files. This issue is fixed in version 30.2.7.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.webjars.bowergithub.jgraph » drawiopreliminary
< 30.2.7< 650fbd742814f6502f78248dc2d8e2aaa5e42b5e
30.2.7, 650fbd742814f6502f78248dc2d8e2aaa5e42b5e

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.