{
  "schema_version": "1.4.0",
  "id": "GHSA-6722-xvq8-3254",
  "modified": "2023-03-13T15:29:04Z",
  "published": "2023-03-06T06:30:18Z",
  "aliases": [
    "CVE-2023-26107"
  ],
  "summary": "SketchSVG Arbitrary Code Injection vulnerability",
  "details": "All versions of the package sketchsvg are vulnerable to Arbitrary Code Injection when invoking `shell.exec` without sanitization nor parametrization while concatenating the current directory as part of the command string.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "sketchsvg"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.0.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26107"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/eBay/SketchSVG"
    },
    {
      "type": "WEB",
      "url": "https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115"
    },
    {
      "type": "WEB",
      "url": "https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64"
    },
    {
      "type": "WEB",
      "url": "https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-07T20:30:33Z",
    "nvd_published_at": "2023-03-06T05:15:00Z"
  }
}