Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sketchsvg
  4. ›
  5. CVE-2023-26107

CVE-2023-26107: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

March 6, 2023 (updated November 9, 2023)

All versions of the package sketchsvg is vulnerable to Arbitrary Code Injection when invoking shell.exec without sanitization nor parametrization while concatenating the current directory as part of the command string.

References

  • github.com/advisories/GHSA-6722-xvq8-3254
  • github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js
  • github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js
  • nvd.nist.gov/vuln/detail/CVE-2023-26107
  • security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969

Code Behaviors & Features

Detect and mitigate CVE-2023-26107 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/sketchsvg/CVE-2023-26107.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.