CVE-2023-3974: jgraph/drawio - Command Injection
- Cve: CVE-2023-3974
- Name: jgraph/drawio - Command Injection
- Description: OS Command Injection in GitHub repository jgraph/drawio prior to 21.4.0.
- Impact: Attackers can execute arbitrary OS commands, potentially leading to full system compromise or data breach.
- Remediation: Update to version 21.4.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs victim to open malicious input or file
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01242
- Epss percentile: 0.69949
- Assignee: [email protected]
- Published at: 2023-07-27T15:15:12Z
- Age in days: 1216
- Modified at: 2026-06-17T06:15:33Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-3974
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/jgraph/drawio/commit/9d6532de36496e77d872d91b1947bb696607d623 | nvd | Patch |
| https://huntr.dev/bounties/ce75aa04-e4d6-4e0a-9db0-ae84c46ae9e2 | nvd | Permissions Required |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| diagrams:drawio | < 21.4.0 | no | nvd | /v1/products/diagrams/drawio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jgraph/drawio | commit | yes | /v1/repositories/jgraph/drawio |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 1741
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports