Description
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.
Remediation
References
https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5
https://github.com/neocotic/convert-svg/issues/86
https://github.com/neocotic/convert-svg/pull/87
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830
Related Vulnerabilities
CVE-2021-23346 Vulnerability in maven package org.webjars.npm:html-parse-stringify2
CVE-2020-5229 Vulnerability in maven package org.opencastproject:opencast-common-jpa-impl
CVE-2015-8857 Vulnerability in npm package uglify-js
CVE-2020-19697 Vulnerability in maven package org.webjars.npm:editor.md
CVE-2021-46062 Vulnerability in maven package net.mingsoft:ms-mcms