Description
An issue found in Stoqey gnuplot v.0.0.3 and earlier allows attackers to execute arbitrary code via the src/index.ts, plotCallack, child_process, and/or filePath parameter(s).
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2021-4811/
https://github.com/stoqey/gnuplot/blob/cd76060a15f58348baeef1c5fd867ce856515949/src/index.ts#L211-L217
Related Vulnerabilities
CVE-2019-19935 Vulnerability in npm package froala-editor
CVE-2020-8141 Vulnerability in npm package dot
CVE-2023-2507 Vulnerability in npm package clevertap-cordova
CVE-2023-22894 Vulnerability in npm package @strapi/strapi
CVE-2022-44729 Vulnerability in maven package org.apache.xmlgraphics:batik-svgrasterizer