convert-svg-to-jpeg@0.5.0 vulnerabilities

Converts SVG to JPEG using headless Chromium

Direct Vulnerabilities

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

<0.6.0