# CVE-2022-1575: Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio

- Severity: Critical 9.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.40%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-05T11:45:12.000Z
- Modified: 2026-06-17T04:22:42.017Z
- Weaknesses: CWE-79, CWE-94
- Assigned by: @huntrdev

## Description

Arbitrary Code Execution through Sanitizer Bypass in GitHub repository jgraph/drawio prior to 18.0.0. - Arbitrary (remote) code execution in the desktop app. - Stored XSS in the web app.

(As written by CVE List.)

## Affected

- jgraph jgraph/drawio: from unspecified before 18.0.0
- diagrams drawio: before 18.0.0

## Every score

- @huntrdev: CVSS:3.0 9.6 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/033d3423-eb05-4b53-a747-1bfcba873127> (exploit, third-party-advisory)
- <https://github.com/jgraph/drawio/commit/f768ed73875d5eca20110b9c1d72f2789cd1bab7> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-1575](https://www.cve.org/CVERecord?id=CVE-2022-1575), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-1575](https://nvd.nist.gov/vuln/detail/CVE-2022-1575), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1575 · Whole record: https://cve.day/CVE-2022-1575.json · Rebuilt by cve.day 2026-11-25T22:58:11.422Z
