@react-native-community/cli is vulnerable to Command Injection
98
Critical Risk
Affected versions of the React Native Community CLI expose a Metro development server that binds to external interfaces and provides an endpoint vulnerable to OS command injection, allowing unauthenticated remote attackers to issue crafted POST requests that execute arbitrary executables. On Windows, attackers can further run arbitrary shell commands with fully controlled arguments.
You are affected if you are using a version that falls within the vulnerable range.
@react-native-community/cli is vulnerable to Command Injection in versions 0.0.1 - 17.0.0, 18.0.0 - 18.0.0 and 19.0.0 - 19.1.1.
Upgrade the @react-native-community/cli and @react-native-community/cli-server-api library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant