Vulnerability record · CVE-2021-23631 · published 21 January 2022
CVE-2021-23631: Convert-svg-core project convert-svg-core path traversal vulnerability
CConvert Svg Core Project · Convert Svg Core
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 | ExploitThird Party Advisory |
| https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 | ExploitThird Party Advisory |
Track CVE-2021-23631 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-23631), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.