Command Injection
Description
All versions of package corenlp-js-interface are vulnerable to Command Injection via the main function.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
corenlp-js-interface is vulnerable to command injection via its main function, allowing arbitrary command execution.
Vulnerability
Overview
The corenlp-js-interface npm package is vulnerable to command injection in its main function. All versions of this deprecated package are affected. The vulnerability stems from insufficient sanitization of user-supplied input passed to the main function, which is then executed as a system command. [1][2]
Exploitation
An attacker can exploit this by providing a specially crafted string as an argument to the main function. The proof-of-concept demonstrates that passing a string containing shell metacharacters (e.g., ') touch JHU # ') results in arbitrary command execution. No authentication is required, and the attack can be mounted from any context where the package is used. [2]
Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the Node.js process. This could lead to full system compromise, data exfiltration, or further lateral movement within the infrastructure. [2]
Mitigation
There is no fix available for this vulnerability, and the package is deprecated. The only recommended mitigation is to remove the package from any projects and migrate to an alternative library that provides similar functionality without the security risk. [1][2]
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
corenlp-js-interfacenpm | <= 1.0.3 | — |
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-ffxg-xm4w-3wg9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-28440ghsaADVISORY
- snyk.io/vuln/SNYK-JS-CORENLPJSINTERFACE-1050435ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.