# CVE-2023-26107: SketchSVG Arbitrary Code Injection vulnerability

- Severity: Medium 6.9 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-06T05:00:04.316Z
- Modified: 2026-06-17T05:42:41.530Z
- Also known as: GHSA-6722-xvq8-3254
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- sketchsvg: before *
- sketchsvg (npm): up to 0.0.1
- ebay sketchsvg: no versions given

## Every score

- snyk: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969> (exploit, third-party-advisory, web)
- <https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L115> (broken-link)
- <https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L64> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26107> (advisory)
- <https://github.com/eBay/SketchSVG> (package)
- <https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115> (web)
- <https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64> (web)

## Sources

- CVE List: [CVE-2023-26107](https://www.cve.org/CVERecord?id=CVE-2023-26107), CVE Terms of Use, modified 2025-03-05
- GitHub Advisory Database: [GHSA-6722-xvq8-3254](https://github.com/advisories/GHSA-6722-xvq8-3254), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-26107](https://nvd.nist.gov/vuln/detail/CVE-2023-26107), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26107 · Whole record: https://cve.day/CVE-2023-26107.json · Rebuilt by cve.day 2026-11-25T22:58:22.279Z
