{"id":"CVE-2022-24278","published":"2022-06-10T20:05:32Z","modified":"2024-09-16T19:46:21Z","title":"Directory Traversal","vendor":null,"product":null,"tier":"tail","description":{"text":"The package convert-svg-core before 0.6.4 are vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02044,"percentile":0.8181,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830","tags":["x_refsource_MISC"]},{"url":"https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5","tags":["x_refsource_MISC"]},{"url":"https://github.com/neocotic/convert-svg/pull/87","tags":["x_refsource_MISC"]},{"url":"https://github.com/neocotic/convert-svg/issues/86","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":16.36},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"convert-svg-core","versions":[">= unspecified, < 0.6.4"]}],"affected":[{"ecosystem":"npm","package":"convert-svg-core","vulnerableRanges":["<0.6.4"],"patched":["0.6.4"],"from":["GHSA-5f47-rcg5-9m24"],"provenance":"source"}],"summary":{"text":"The flaw is a directory traversal issue in the convert-svg-core package, affecting versions before 0.6.4, caused by improper sanitization of SVG tags. An attacker who can supply a specially crafted SVG file, which requires no privileges or authentication over the network and no user interaction, can read files outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:10Z"},"euvd":{"id":"EUVD-2022-5936","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-convert-svg-core-cve-2022-24278","parents":[{"from":"CVE-2022-24429","to":"CVE-2022-24278","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:convert-svg-core","fromFixed":"0.6.3","toFixed":"0.6.4","daysApart":0},{"kind":"same-code","provenance":"machine","files":["packages/convert-svg-core/src/Converter.js"],"commits":["https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5","https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1"],"basis":"shared function","functions":["Converter"]},{"kind":"similar","provenance":"machine","score":0.61,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2022-24278","to":"CVE-2022-25759","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/convert-svg-core/src/Converter.js","packages/convert-svg-test-helper/src/tests.json"],"commits":["https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5","https://github.com/neocotic/convert-svg/commit/7e6031ac7427cf82cf312cb4a25040f2e6efe7a5"],"basis":"shared function","functions":["Converter"]},{"kind":"similar","provenance":"machine","score":0.74,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-25759","published":"2022-07-22","fixed":"0.6.2","kev":false},{"cve":"CVE-2022-24429","published":"2022-06-10","fixed":"0.6.3","kev":false},{"cve":"CVE-2022-24278","published":"2022-06-10","fixed":"0.6.4","kev":false}],"package":"npm:convert-svg-core"}}