underscore is vulnerable to Arbitrary Code Injection
0
Low Risk
Underscore is a JavaScript utility library that provides a range of functional programming helpers. Since a variable property is passed as an argument without being sanitized the library is vulnerable to Arbitrary Code Injection which might lead to the execution of arbitrary code or to leverage executable code in non-executable files.
You're affected by this flaw if you or an underlying library allows external input without proper sanitization to be handled by such packages
underscore is vulnerable to Arbitrary Code Injection in versions < 1.12.1 and < 1.13.0-2.
To fix the vulnerability you should upgrade underscore at least to version 1.13.1 and sanitize all the arguments you provide to packages that might use this library. As a good practice, we recommend always validating and limiting any input received from external sources to avoid any kind of injection.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant