{"id":"GHSA-54px-mhwv-5v8x","summary":"Code injection via SVG file in convert-svg-core","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":["CVE-2022-24429","SNYK-JS-CONVERTSVGCORE-2859212"],"modified":"2026-05-01T04:12:15.580187415Z","published":"2022-06-11T00:00:17Z","database_specific":{"github_reviewed_at":"2022-06-17T00:55:34Z","nvd_published_at":"2022-06-10T20:15:00Z","cwe_ids":["CWE-74","CWE-94"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24429"},{"type":"WEB","url":"https://github.com/neocotic/convert-svg/issues/84"},{"type":"WEB","url":"https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1"},{"type":"PACKAGE","url":"https://github.com/neocotic/convert-svg"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859212"}],"affected":[{"package":{"name":"convert-svg-core","ecosystem":"npm","purl":"pkg:npm/convert-svg-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-54px-mhwv-5v8x/GHSA-54px-mhwv-5v8x.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:L/I:L/A:H"}]}