Skip to main content

CVE-2026-63373: CWE-352: Cross-Site Request Forgery (CSRF) in jgraph drawio

0
Medium
VulnerabilityCVE-2026-63373cvecve-2026-63373cwe-352
Published: 09/21/2026 (09/21/2026, 16:29:43 UTC)
Source: CVE Database V5
Vendor/Project: jgraph
Product: drawio

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.

CVSS v3.1

Score 4.2medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected software

jgraph

drawio

Affected versions
<30.2.7
GitHub Actionsmore threats →ai
jgraph/drawio
pkg:github/jgraph/drawio
Affected versions
<30.2.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 17:01:39 UTC

Technical Analysis

draw.io versions before 30.2.7 have a CSRF vulnerability in the OAuth callback handler located in src/main/java/com/mxgraph/online/AbsAuth.java. When IS_GAE is false (self-hosted Docker and WAR deployments), the handler skips comparing the stateToken and cookieToken, which normally prevent CSRF attacks. An attacker can supply an authorization code for their own cloud-storage identity and trick a victim into visiting a crafted callback URL. This causes the victim’s draw.io session to be authenticated as the attacker’s identity without a valid state binding. The vulnerability affects multiple cloud-storage integrations including Google Drive, OneDrive, GitHub, GitLab, and Dropbox. While the attacker’s identity is bound to the victim’s session, it does not grant access to the victim’s existing cloud files. The flaw is resolved in draw.io version 30.2.7.

Potential Impact

The vulnerability allows an attacker to cause a victim’s draw.io session to be authenticated as the attacker’s cloud-storage identity, resulting in session integrity loss and misattribution of cloud-storage actions. However, the attacker does not gain access to the victim’s existing cloud files. This can lead to unauthorized actions being performed under the attacker’s identity within the victim’s session context.

Mitigation Recommendations

Upgrade draw.io to version 30.2.7 or later, where this vulnerability is fixed. The fix ensures proper validation of stateToken and cookieToken in the OAuth callback handler to prevent CSRF attacks. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-16T17:39:30.170Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab15f9655bf5e2cf52f1e08

Added to database: 09/21/2026, 16:47:18 UTC

Last enriched: 09/21/2026, 17:01:39 UTC

Last updated: 09/22/2026, 00:42:50 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses