convert-svg-core@0.6.2 vulnerabilities

Supports converting SVG into another format using headless Chromium

Direct Vulnerabilities

Known vulnerabilities in the convert-svg-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Directory Traversal

convert-svg-core is a package that supports converting SVG into another format using headless Chromium.

Affected versions of this package are vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.

How to fix Directory Traversal?

Upgrade convert-svg-core to version 0.6.4 or higher.

<0.6.4
  • H
Arbitrary Code Injection

convert-svg-core is a package that supports converting SVG into another format using headless Chromium.

Affected versions of this package are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.

How to fix Arbitrary Code Injection?

Upgrade convert-svg-core to version 0.6.3 or higher.

<0.6.3