CVE-2023-26107 json
SketchSVG Arbitrary Code Injection vulnerability
published 3y ago modified 4mo ago also GHSA-6722-xvq8-3254 , EUVD-2023-0896
- cvss
- 6.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2023-26107 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P |
| CNA | 3.1 | 6.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | sketchsvg | <=0.0.1 |
no fix listed |
Affected products
- n/a sketchsvg
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
security.snyk.io
/vuln/SNYK-JS-SKETCHSVG-3167969
web, exploit, third-party-advisory
-
github.com
/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L115
broken-link
-
github.com
/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L64
broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2023-26107
advisory
-
github.com
/eBay/SketchSVG
package
-
github.com
/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115
web
-
github.com
/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64
web
Sources
- CVE List CVE-2023-26107
- GitHub Advisory GHSA-6722-xvq8-3254
- NVD CVE-2023-26107
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.