GitHub Advisoryadvisory · npm
GHSA-54px-mhwv-5v8x Code injection via SVG file in convert-svg-core
HIGH
Official page ↗
- Aliases
- CVE-2022-24429
- Ecosystem
- npm
- Packages
- convert-svg-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Weaknesses
- CWE-74, CWE-94
- Reviewed
- 2022-06-17
Affected packages
• npm convert-svg-core: < 0.6.3 → fixed in 0.6.3
Description
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.
Related
Alias · CVE (1)
- CVE-2022-24429 The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. vulnerability
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