{"id":"CVE-2022-1575","published":"2022-05-05T11:45:12Z","modified":"2024-08-03T00:10:03Z","title":"Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio","vendor":"jgraph","product":"jgraph/drawio","tier":"tail","description":{"text":"Arbitrary Code Execution through Sanitizer Bypass in GitHub repository jgraph/drawio prior to 18.0.0. - Arbitrary (remote) code execution in the desktop app. - Stored XSS in the web app.","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.02397,"percentile":0.84402,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://huntr.dev/bounties/033d3423-eb05-4b53-a747-1bfcba873127","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jgraph/drawio/commit/f768ed73875d5eca20110b9c1d72f2789cd1bab7","tags":["x_refsource_MISC"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":16.88},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"jgraph","affectedVersions":[{"vendor":"jgraph","product":"jgraph/drawio","versions":[">= unspecified, < 18.0.0"]}],"euvd":{"id":"EUVD-2022-24866","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jgraph-drawio-cve-2022-1575","children":[{"from":"CVE-2022-1575","to":"CVE-2023-3973","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/webapp/js/sanitizer/purify.min.js"],"commits":["https://github.com/jgraph/drawio/commit/f768ed73875d5eca20110b9c1d72f2789cd1bab7","https://github.com/jgraph/drawio/commit/1db2c2c653aa245d175d30c210239e3946bfcb95"],"basis":"rarely changed file"}]}]}}