{"id":"CVE-2022-24278","summary":"Directory Traversal","details":"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.","aliases":["GHSA-5f47-rcg5-9m24","SNYK-JS-CONVERTSVGCORE-2859830"],"modified":"2026-08-27T03:49:44.211803190Z","published":"2022-06-10T20:05:32.272Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24278.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24278.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24278"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830"},{"type":"REPORT","url":"https://github.com/neocotic/convert-svg/issues/86"},{"type":"FIX","url":"https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5"},{"type":"FIX","url":"https://github.com/neocotic/convert-svg/pull/87"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/airmrcr/convert-svg","events":[{"introduced":"0"},{"fixed":"063ad00149f42a260ba1d0e13ce81c4a23683e30"},{"fixed":"2bbc498c5029238637206661dbac9e44d37d17c5"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.6.4"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:convert-svg_project:convert-svg:*:*:*:*:*:node.js:*:*"}}],"versions":["0.6.3","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/cve-osv-conversion/osv-output/CVE-2022-24278.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"}]}