Read the docs
TI-2021-06172 Aliases CVE-2021-23631GHSA-jv7g-9g6q-cxvw

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

VendorProductAffected versionsFixed inStatusSource
—convert-svg-coreall versions—No fix listedCNA
—convert-svg-to-pngall versions—No fix listedCNA
—convert-svg-to-jpegall versions—No fix listedCNA
—convert-svg-core (npm)up to 0.5.0—No fix listedGHSA-jv7g-9g6q-cxvw
—convert-svg-to-png (npm)up to 0.5.0—No fix listedGHSA-jv7g-9g6q-cxvw
—convert-svg-to-jpeg (npm)up to 0.5.0—No fix listedGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*all versionsVulnerableConvert-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

  1. 2026-10-02 Threatist record created from CVE-2021-23631
  2. 2026-10-03 Alias added: GHSA-jv7g-9g6q-cxvw

References

  • 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