CVE-2021-23631
published high CVSS 3.1 · 7.5Directory Traversal
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | convert-svg-core | 0 to < unspecified (affected · custom) | snyk · cna |
| n/a | convert-svg-to-png | 0 to < unspecified (affected · custom) | snyk · cna |
| n/a | convert-svg-to-jpeg | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Directory Traversal
References
4Provider assertions
2snyk · cna
Directory Traversal
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d1da3971207d68f5ca9bc7697eb6252f6cdd1ca07d3387fb1b62c40c57815f67
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record