{"id":"GHSA-5f47-rcg5-9m24","summary":"Directory traversal in convert-svg-core","details":"The package convert-svg-core before 0.6.4 is vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.","aliases":["CVE-2022-24278","SNYK-JS-CONVERTSVGCORE-2859830"],"modified":"2026-09-10T03:49:49.167985748Z","published":"2022-06-11T00:00:18Z","database_specific":{"github_reviewed_at":"2022-06-17T00:56:38Z","nvd_published_at":"2022-06-10T20:15:00Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24278"},{"type":"WEB","url":"https://github.com/neocotic/convert-svg/issues/86"},{"type":"WEB","url":"https://github.com/neocotic/convert-svg/pull/87"},{"type":"WEB","url":"https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5"},{"type":"PACKAGE","url":"https://github.com/neocotic/convert-svg"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830"}],"affected":[{"package":{"name":"convert-svg-core","ecosystem":"npm","purl":"pkg:npm/convert-svg-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-5f47-rcg5-9m24/GHSA-5f47-rcg5-9m24.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"}]}