CVE Catalog

CVE-2026-107703

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

The @enmaso/node-convert package through version 1.0.0 contains an OS command injection vulnerability in convert.js. Unsanitized filepath and convertTo arguments can be used to inject shell metacharacters or a single quote into the ImageMagick command run by child_process.exec(), allowing command execution with Node.js process privileges.

Risk Assessment

An attacker can execute arbitrary system commands on the server, potentially leading to confidentiality, integrity, and availability breaches.

Recommendation

Upgrade to the latest version of the package or use secure alternatives. Also validate and sanitize all arguments passed to the conversion function.

Related vulnerabilities

Original NVD description (English source)

@enmaso/node-convert through 1.0.0 contains an OS command injection vulnerability in convert.js that allows attackers to execute shell commands via unsanitized filepath and convertTo arguments. Attackers can inject shell metacharacters or a single quote into the ImageMagick command run by child_process.exec() to execute operating system commands with Node.js process privileges.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS