convert-svg-to-png@0.3.2 vulnerabilities

Converts SVG to PNG using headless Chromium

Direct Vulnerabilities

Known vulnerabilities in the convert-svg-to-png 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-to-png is a package for converting SVG to PNG 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-to-png to version 0.6.0 or higher.

<0.6.0