Command Injection Affecting node-ts-ocr package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.09% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NODETSOCR-16787371
  • published21 May 2026
  • disclosed7 May 2026
  • creditNaretena A.

Introduced: 7 May 2026

NewCVE-2025-63705  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for node-ts-ocr.

Overview

node-ts-ocr is an A simple wrapper around command-line utils to assist in PDF / Image OCR (Optical Character Recognition) processing using Tesseract.

Affected versions of this package are vulnerable to Command Injection via the invokeImageOcr function. An attacker can execute arbitrary operating system commands by supplying crafted input to this function.

CVSS Base Scores

version 4.0
version 3.1