# CVE-2022-3127: Cross-site Scripting (XSS) - Stored in jgraph/drawio

- Severity: Medium 5.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- 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): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-05T12:50:09.000Z
- Modified: 2026-06-17T04:58:55.007Z
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository jgraph/drawio prior to 20.2.8.

(As written by CVE List.)

## Affected

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

## Every score

- @huntrdev: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://huntr.dev/bounties/6cea89d1-39dc-4023-82fa-821f566b841a> (exploit, patch, third-party-advisory)
- <https://github.com/jgraph/drawio/commit/59887e45b36f06c8dd4919a32bacd994d9f084da> (patch, third-party-advisory)

## Sources

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

---

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