CVE-2023-26107 SketchSVG Arbitrary Code Injection vulnerability
Attackers can execute arbitrary code via unsanitized shell commands in the sketchsvg npm library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-26107?
CVE-2023-26107 is a medium-severity code injection vulnerability in sketchsvg, published on 6 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2023-26107?
2 open source packages ship an affected version, including sketchsvg. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sketchsvg npm | All versions to 0.0.1 | None |
sketchsvg npm | All versions to 0.0.1 | None |
Products include Ebay Sketchsvg.
How do I fix CVE-2023-26107?
No fix has been published for CVE-2023-26107 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-26107 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26107 exists.
Sources
Also known as GHSA-6722-xvq8-3254.