Description
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.
Remediation
References
https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244
Related Vulnerabilities
CVE-2020-15135 Vulnerability in npm package save-server
CVE-2021-39176 Vulnerability in npm package detect-character-encoding
CVE-2023-36468 Vulnerability in maven package org.xwiki.platform:xwiki-platform-core
CVE-2020-6427 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-24431 Vulnerability in npm package abacus-ext-cmdline