HIGH8.6
GHSA-54px-mhwv-5v8x
Code injection via SVG file in convert-svg-core
Quick fix
GHSA-54px-mhwv-5v8x — convert-svg-core: upgrade to the fixed version with the command below.
npm install convert-svg-core@0.6.3Details
The package convert-svg-core before 0.6.3 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24429[ADVISORY]
- https://github.com/neocotic/convert-svg/issues/84[WEB]
- https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1[WEB]
- https://github.com/neocotic/convert-svg[PACKAGE]
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859212[WEB]