# CVE-2019-13127: mxGraph vulnerable to cross-site scripting in color field

- Severity: Medium 6.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/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): 1.50%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-07-01T14:33:36.000Z
- Modified: 2026-06-17T02:16:07.533Z
- Also known as: GHSA-xm59-jvxm-cp3v
- Weaknesses: CWE-20, CWE-79
- Assigned by: mitre

## Description

An issue was discovered in mxGraph through 4.0.0, related to the "draw.io Diagrams" plugin before 8.3.14 for Confluence and other products. Improper input validation/sanitization of a color field leads to XSS. This is associated with javascript/examples/grapheditor/www/js/Dialogs.js.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mxgraph (npm): before 4.0.1
- draw draw.io_diagrams: before 8.3.14
- jgraph mxgraph: up to 4.0.0

## Every score

- GitHub: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2019-032.txt> (exploit, third-party-advisory, web)
- <https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence/version-history> (release-notes, third-party-advisory, web)
- <https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-13127> (advisory)

## Sources

- CVE List: [CVE-2019-13127](https://www.cve.org/CVERecord?id=CVE-2019-13127), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xm59-jvxm-cp3v](https://github.com/advisories/GHSA-xm59-jvxm-cp3v), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-13127](https://nvd.nist.gov/vuln/detail/CVE-2019-13127), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-13127 · Whole record: https://cve.day/CVE-2019-13127.json · Rebuilt by cve.day 2026-11-25T22:57:45.375Z
