{"id":"CVE-2022-24429","summary":"Arbitrary Code Injection","details":"The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.","aliases":["GHSA-54px-mhwv-5v8x","SNYK-JS-CONVERTSVGCORE-2859212"],"modified":"2026-08-12T03:30:34.684335171Z","published":"2022-06-10T20:00:38.006Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24429.json","cna_assigner":"snyk"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24429.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24429"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859212"},{"type":"REPORT","url":"https://github.com/neocotic/convert-svg/issues/84"},{"type":"FIX","url":"https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/airmrcr/convert-svg","events":[{"introduced":"0"},{"fixed":"faef02a13d61cc511d23689902f33edba00cae5b"},{"fixed":"a43dffaab0f1e419d5be84e2e7356b86ffac3cf1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.6.3"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*"}}],"versions":["0.6.2","0.6.1","0.6.0","0.5.0","0.4.0","0.3.3","0.3.2","0.3.1","0.3.0","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24429.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"}]}