# CVE-2022-3148: Cross-site Scripting (XSS) - Generic in jgraph/drawio

- Severity: Medium 5.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-08T09:25:09.000Z
- Modified: 2026-06-17T04:58:57.447Z
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://huntr.dev/bounties/1f730015-b4d0-4f84-8cac-9cf1e57a091a> (exploit, third-party-advisory)
- <https://github.com/jgraph/drawio/commit/b5dfeb238369d664fb06a95e2179236b0e75f366> (patch, third-party-advisory)

## Sources

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

---

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