# CVE-2021-33360: stoqey/gnuplot is vulnerable to command injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-03-10T00:00:00.000Z
- Modified: 2026-06-17T03:54:30.330Z
- Also known as: GHSA-795w-7426-m94j
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @stoqey/gnuplot (npm): up to 0.0.3
- stoqey gnuplot: up to 0.0.3

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/stoqey/gnuplot/blob/cd76060a15f58348baeef1c5fd867ce856515949/src/index.ts#L211-L217> (exploit, web)
- <https://advisory.checkmarx.net/advisory/CX-2021-4811/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33360> (advisory)
- <https://advisory.checkmarx.net/advisory/CX-2021-4811> (web)
- <https://github.com/stoqey/gnuplot> (package)

## Sources

- CVE List: [CVE-2021-33360](https://www.cve.org/CVERecord?id=CVE-2021-33360), CVE Terms of Use, modified 2025-02-28
- GitHub Advisory Database: [GHSA-795w-7426-m94j](https://github.com/advisories/GHSA-795w-7426-m94j), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-33360](https://nvd.nist.gov/vuln/detail/CVE-2021-33360), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33360 · Whole record: https://cve.day/CVE-2021-33360.json · Rebuilt by cve.day 2026-11-25T22:58:08.394Z
