{"id":"CVE-2026-58504","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-58504","generatedAt":"2026-10-28T00:18:47.595Z","title":"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.","description":"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.","published":"2026-09-21T17:17:36.000Z","lastModified":"2026-09-29T16:17:09.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79","CWE-116"],"affected":[],"epss":{"score":0.0025,"percentile":0.16142,"date":"2026-10-26","history":[{"date":"2026-09-22","score":0.00203,"percentile":0.10594}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.25%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-21T17:17:36.000Z","detail":{"score":"6.1","severity":"MEDIUM","publishedAt":"2026-09-21T17:17:36.077Z"},"summary":"New CVE, medium severity (CVSS 6.1)."}],"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"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58504","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}