{"id":"CVE-2026-58504","sourceIdentifier":"security-advisories@github.com","published":"2026-09-21T17:17:36.077","lastModified":"2026-09-29T16:17:09.067","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"jgraph","product":"drawio","versions":[{"version":"< 30.2.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-29T15:05:28.465307Z","id":"CVE-2026-58504","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"},{"lang":"en","value":"CWE-116"}]}],"references":[{"url":"https://github.com/jgraph/drawio/commit/7976c02e1b10b1687c028d82782f9f5d90a885d6","source":"security-advisories@github.com"},{"url":"https://github.com/jgraph/drawio/releases/tag/v30.2.5","source":"security-advisories@github.com"},{"url":"https://github.com/jgraph/drawio/security/advisories/GHSA-c76x-r78m-phwx","source":"security-advisories@github.com"},{"url":"https://github.com/jgraph/drawio/security/advisories/GHSA-c76x-r78m-phwx","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}