webp-converter is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
98
CVE Score
Critical
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
cwebp, dwebp, gwebp and the webpmux_* helpers in src/webpconverter.js interpolate untrusted file names and option strings into a command run through execFile with shell: true, so untrusted input executes OS commands as the Node.js process. The helpers are the package's default exported API, and any caller passing untrusted names or options reaches them. No published release has been inspected, so the affected version range stays unverified. The fix deletes the file and passes arguments as an array to execFile without a shell.
Upgrade the webp-converter package to version 3.0.0 or later.
You are affected if you are using a version that falls within the vulnerable range and pass untrusted file names or option strings to the image conversion helpers.
1.1.7 - 2.3.3
Fixed in 3.0.0webp-converter is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in versions 1.1.7 - 2.3.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.