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.
Published: 2026-09-21
Score: 4.2 Medium
EPSS: n/a
KEV: No
Impact: Session Hijack
Action: Immediate Patch
AI Analysis

Impact

draw.io allows an attacker to inject a session token through an OAuth callback by bypassing state token validation in self-hosted deployments. The flaw permits a victim to be authenticated as the attacker’s cloud‑storage identity, enabling the attacker to perform cloud actions under the victim’s session without the victim’s knowledge. The primary consequence is loss of session integrity and potential misattribution of cloud activity, though existing victim files are not directly exposed.

Affected Systems

The vulnerability affects jgraph:drawio installations running Docker or WAR images prior to version 30.2.7. It impacts the Google Drive, OneDrive, GitHub, GitLab, and Dropbox integration handlers within those self‑hosted deployments.

Risk and Exploitability

The flaw has a CVSS score of 4.2, indicating moderate severity. The EPSS score is not available and the issue is not listed in CISA KEV. Exploitation requires an attacker to supply a forged authorization code and have the victim visit the malicious callback URL, suggesting the attack vector is most likely social engineering or phishing. Given the absence of known public exploits and moderate CVSS, the overall risk is considered moderate, but the impact on session integrity warrants prompt attention.

Generated by OpenCVE AI on September 21, 2026 at 17:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update jgraph:drawio to version 30.2.7 or later, which restores state token validation in the OAuth callback handler.
  • Disable or remove unused cloud‑storage integration features if they are not required for your use case.
  • Ensure that callback URLs for OAuth integrations are only invoked from trusted and authenticated sources, and monitor logs for unauthorized callback activity.

Generated by OpenCVE AI on September 21, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Jgraph
Jgraph drawio
Vendors & Products Jgraph
Jgraph drawio

Mon, 21 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title draw.io: OAuth CSRF via missing state validation on self-hosted deployments allows session token injection
Weaknesses CWE-352
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-21T16:29:43.768Z

Reserved: 2026-07-16T17:39:30.170Z

Link: CVE-2026-63373

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T17:17:39.367

Modified: 2026-09-21T17:17:39.367

Link: CVE-2026-63373

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T17:30:18Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)