CVEvulnerability
CVE-2021-23631
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-01-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• convert-svg-core project convert-svg-core
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 Exploit, Third Party Advisory
- https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 Exploit, Third Party Advisory