ADVISORIES

GitHub Advisory Database

GHSA-jv7g-9g6q-cxvw

Path Traversal in convert-svg packages

High No fix available CVE-2021-23631

Details

This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. 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.

Affected packages

EcosystemPackageAffected versions
npmconvert-svg-core
All versions up to and including 0.5.0
npmconvert-svg-to-png
All versions up to and including 0.5.0
npmconvert-svg-to-jpeg
All versions up to and including 0.5.0

References