{"id":"CVE-2026-58504","aliases":["CVE-2026-58504"],"related":[],"kind":"vulnerability","state":"published","title":"draw.io: Stored XSS on file open via editable=0 sibling cell — patch bypass of CVE-2026-46642","summary":"draw.io is a configurable diagramming and whiteboarding application. Prior to version 30.2.5, opening or importing a crafted .drawio file can execute attacker-controlled JavaScript in the draw.io origin when selected cells are processed by TextFormatPanel.addFont() in src/main/webapp/js/grapheditor/Format.js. An HTML sibling cell keeps the formatted-label path enabled while an editable=0 plain-text sibling is excluded from the merged selection style but remains in the iteration set. graph.cellRenderer.getLabelValue() returns that plain-text label without HTML encoding, and mxUtils.canConvertHtmlToSvg() parses it as HTML, bypassing the earlier CVE-2026-46642 remediation. Successful exploitation can expose diagram data, browser storage, non-HttpOnly cookies, and same-origin actions available to the victim. This issue is fixed in version 30.2.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"draw.io is a configurable diagramming and whiteboarding application. Prior to version 30.2.5, opening or importing a crafted .drawio file can execute attacker-controlled JavaScript in the draw.io origin when selected cells are processed by TextFormatPanel.addFont() in src/main/webapp/js/grapheditor/Format.js. An HTML sibling cell keeps the formatted-label path enabled while an editable=0 plain-text sibling is excluded from the merged selection style but remains in the iteration set. graph.cellRenderer.getLabelValue() returns that plain-text label without HTML encoding, and mxUtils.canConvertHtmlToSvg() parses it as HTML, bypassing the earlier CVE-2026-46642 remediation. Successful exploitation can expose diagram data, browser storage, non-HttpOnly cookies, and same-origin actions available to the victim. This issue is fixed in version 30.2.5.","source":"cvelist"}],"published":"2026-09-21T16:15:30.398Z","modified":"2026-09-29T16:17:09.067Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-116"],"affected":[{"ranges":[{"version":"< 30.2.5","status":"affected"}],"vendor":"jgraph","product":"drawio","source":"cvelist"}],"references":[{"url":"https://github.com/jgraph/drawio/security/advisories/GHSA-c76x-r78m-phwx","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jgraph/drawio/commit/7976c02e1b10b1687c028d82782f9f5d90a885d6","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jgraph/drawio/releases/tag/v30.2.5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-29T15:05:28.465Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58504","url":"https://www.cve.org/CVERecord?id=CVE-2026-58504","licence":"CVE Terms of Use","modified":"2026-09-29T15:05:34.205Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58504","licence":"Public domain","modified":"2026-09-29T16:17:09.067Z"}],"updatedAt":"2026-11-25T22:59:40.350Z","epss":{"score":0.00355,"percentile":0.21572,"date":"2026-11-30T12:00:22.000Z"}}