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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830 | third party advisory |
https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5 | third party advisory patch |
https://github.com/neocotic/convert-svg/pull/87 | third party advisory patch |
https://github.com/neocotic/convert-svg/issues/86 | third party advisory issue tracking exploit |