CVE-2021-23376
CRITICALffmpegdotjs - OS Command Injection via trimvideo Function
Title source: llmDescription
This affects all versions of package ffmpegdotjs. If attacker-controlled user input is given to the trimvideo function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542
Broken Link x_refsource_misc
https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219
Scores
CVSS v3
9.8
EPSS
0.0194
EPSS Percentile
77.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-78
Status
published
Products (2)
ffmpegdotjs_project/ffmpegdotjs
npm/ffmpegdotjs
0npm
Published
Apr 18, 2021
Tracked Since
Feb 18, 2026