convert-svg-core@0.4.0 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
  • C
Remote 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 Remote Code Injection via sending an SVG file containing the payload.

How to fix Remote Code Injection?

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

<0.6.2
  • 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
  • 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. Using a specially crafted SVG file, an attacker could read arbitrary files from the file system and then show the file content as a converted PNG file.

How to fix Directory Traversal?

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

<0.6.0