{"id":"CVE-2022-2014","published":"2022-06-08T07:25:11Z","modified":"2024-08-03T00:24:44Z","title":"Code Injection in jgraph/drawio","vendor":"jgraph","product":"jgraph/drawio","tier":"tail","description":{"text":"Code Injection in GitHub repository jgraph/drawio prior to 19.0.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00745,"percentile":0.55716,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://huntr.dev/bounties/911a4ada-7fd6-467a-a464-b88604b16ffc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jgraph/drawio/commit/3d3f819d7a04da7d53b37cc0ca4269c157ba2825","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.14},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"jgraph","affectedVersions":[{"vendor":"jgraph","product":"jgraph/drawio","versions":[">= unspecified, < 19.0.2"]}],"euvd":{"id":"EUVD-2022-34320","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jgraph-drawio-cve-2022-1575","children":[{"from":"CVE-2022-2014","to":"CVE-2022-3223","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/webapp/js/diagramly/Embed.js","src/main/webapp/js/diagramly/sidebar/Sidebar.js","src/main/webapp/js/embed.dev.js","src/main/webapp/js/grapheditor/Menus.js"],"commits":["https://github.com/jgraph/drawio/commit/3d3f819d7a04da7d53b37cc0ca4269c157ba2825","https://github.com/jgraph/drawio/commit/ea012baba6fb2e903797fa6306833ca4f31ab361"],"basis":"rarely changed file"}]},{"from":"CVE-2022-2014","to":"CVE-2023-3973","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/webapp/js/diagramly/Pages.js","src/main/webapp/js/export.js","src/main/webapp/js/grapheditor/Format.js"],"commits":["https://github.com/jgraph/drawio/commit/3d3f819d7a04da7d53b37cc0ca4269c157ba2825","https://github.com/jgraph/drawio/commit/1db2c2c653aa245d175d30c210239e3946bfcb95"],"basis":"shared function","functions":["render"]}]},{"from":"CVE-2022-2014","to":"CVE-2026-58504","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/webapp/js/export.js","src/main/webapp/js/grapheditor/Format.js","src/main/webapp/js/grapheditor/Sidebar.js"],"commits":["https://github.com/jgraph/drawio/commit/3d3f819d7a04da7d53b37cc0ca4269c157ba2825","https://github.com/jgraph/drawio/commit/7976c02e1b10b1687c028d82782f9f5d90a885d6"],"basis":"shared function","functions":["render"]}]}]}}