CVE-2025-63705 node-ts-ocr is vulnerable to OS Command Injection via the invokeImageOcr function in src/index.js
Attackers can execute arbitrary OS commands via the invokeImageOcr function in the node-ts-ocr npm package.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-63705?
CVE-2025-63705 is a high-severity command injection vulnerability in n/a, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
NPM package node-ts-ocr 1.0.15 is vulnerable to OS Command Injection via the invokeImageOcr function in src/index.js.
Weakness: CWE-78
Which versions are affected by CVE-2025-63705?
2 open source packages ship an affected version, including node-ts-ocr.
| Package | Affected | Fixed in |
|---|---|---|
node-ts-ocr npm | All versions | None |
node-ts-ocr npm | All versions | None |
How do I fix CVE-2025-63705?
No fix has been published for CVE-2025-63705 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-63705 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-63705 exists.
Sources
Also known as GHSA-8jh2-3mw6-6pfm.