Skip to content

← Public intelligence

npm package

convert-svg-core

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8npmAmendedPublished

    convert-svg-core vulnerable to remote code injection

    CVE-2022-25759 · GHSA-5gxc-fxcr-9326

    Affected
    • npm convert-svg-core < 0.6.2
    Fixed in
    0.6.2· Vendor fix available
    Issue
    The package convert-svg-core before 0.6.2 is vulnerable to Remote Code Injection via sending an SVG file containing the payload in an onload attribute. Puppeteer/Chromium (used by convert-svg-core) will execute any code within that tag, including malicious code. PoC Payload where the id attribute is the base 64-encoded form of Attack

    Recommended action: Upgrade to 0.6.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 7.5npmAmendedPublished

    Directory traversal in convert-svg-core

    CVE-2022-24278 · GHSA-5f47-rcg5-9m24

    Affected
    • npm convert-svg-core < 0.6.4
    Fixed in
    0.6.4· Vendor fix available
    Issue
    The package convert-svg-core before 0.6.4 is vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.

    Recommended action: Upgrade to 0.6.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.6npmAmendedPublished

    Code injection via SVG file in convert-svg-core

    CVE-2022-24429 · GHSA-54px-mhwv-5v8x

    Affected
    • npm convert-svg-core < 0.6.3
    Fixed in
    0.6.3· Vendor fix available
    Issue
    The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.

    Recommended action: Upgrade to 0.6.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →