CVE-2026-63373
draw.io: OAuth CSRF via missing state validation on self-hosted deployments allows session token injection
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.bowergithub.jgraph » drawiopreliminary | < 30.2.7< 650fbd742814f6502f78248dc2d8e2aaa5e42b5e | 30.2.7, 650fbd742814f6502f78248dc2d8e2aaa5e42b5e |
Blast radius
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.
References
| Advisory | CVE record CVE-2026-63373 | github.com |
| Advisory | jgraph/drawio advisory GHSA-mcj5-3pww-7g49 | github.com |
| Advisory | NVD CVE-2026-63373 | nvd.nist.gov |
| Fix | jgraph/drawio commit 650fbd7 | github.com |
| Web | jgraph/drawio release v30.2.7 | github.com |
