description: react-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system. This issue affects multiple branches: 1.x.x prior to 1.0.4, 2.x.x prior to 2.0.2, 3.x.x prior to 3.1.2, 4.x.x prior to 4.2.2, and 5.x.x prior to 5.0.2.
problem types: Improper Neutralization of Special Elements used in an OS Command (CWE-78)
affected:
{
product: react-dev-utils
vendor: Facebook
versions:
status: affected, version: 5.0.2
lessThan: unspecified, status: affected, version: 5.0.0, versionType: custom
status: affected, version: 4.2.2
lessThan: unspecified, status: affected, version: 4.0.0, versionType: custom
status: affected, version: 3.1.2
lessThan: unspecified, status: affected, version: 3.0.0, versionType: custom
status: affected, version: 2.0.2
lessThan: unspecified, status: affected, version: 2.0.0, versionType: custom
status: affected, version: 1.0.4
lessThan: unspecified, status: affected, version: 1.0.0, versionType: custom
lessThan: 1.0.0, status: unaffected, version: unspecified, versionType: custom
}