Directory traversal in convert-svg-core
Priority LOW 37CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.01978 80th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | convert-svg-core | all versions | — | No fix listed | CNA |
| — | convert-svg-to-png | all versions | — | No fix listed | CNA |
| — | convert-svg-to-jpeg | all versions | — | No fix listed | CNA |
| — | convert-svg-core (npm) | up to 0.5.0 | — | No fix listed | GHSA-jv7g-9g6q-cxvw |
| — | convert-svg-to-png (npm) | up to 0.5.0 | — | No fix listed | GHSA-jv7g-9g6q-cxvw |
| — | convert-svg-to-jpeg (npm) | up to 0.5.0 | — | No fix listed | GHSA-jv7g-9g6q-cxvw |
- convert-svg-core Vendor— Affected all versions Fixed in — No fix listed CNA
- convert-svg-to-png Vendor— Affected all versions Fixed in — No fix listed CNA
- convert-svg-to-jpeg Vendor— Affected all versions Fixed in — No fix listed CNA
- convert-svg-core (npm) Vendor— Affected up to 0.5.0 Fixed in — No fix listed GHSA-jv7g-9g6q-cxvw
- convert-svg-to-png (npm) Vendor— Affected up to 0.5.0 Fixed in — No fix listed GHSA-jv7g-9g6q-cxvw
- convert-svg-to-jpeg (npm) Vendor— Affected up to 0.5.0 Fixed in — No fix listed GHSA-jv7g-9g6q-cxvw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:* | all versions | Vulnerable | Convert-svg-core Project |
- cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·Convert-svg-core Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23631
- 2026-10-03 Alias added: GHSA-jv7g-9g6q-cxvw
References
More Convert-svg-core Project Convert-svg-core vulnerabilities
- TI-2022-09333 Remote code injection in convert-svg-core CVSS 3.1CRITICAL 9.9
- TI-2022-08303 Arbitrary code injection in convert-svg-core CVSS 3.1HIGH 7.8
Sources
- CVE-2021-23631 · CVE Program
- CVE-2021-23631 · NVD
- FIRST EPSS
- GHSA-jv7g-9g6q-cxvw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences