CVE-2018-6342
Severity CVSS v4.0:
Pending analysis
Type:
CWE-78
OS Command Injections
Publication date:
31/12/2018
Last modified:
06/05/2025
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.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Base Score 2.0
10.00
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 1.0.0 (including) | 1.0.4 (excluding) |
| cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 2.0.0 (including) | 2.0.2 (excluding) |
| cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 3.0.0 (including) | 3.1.2 (excluding) |
| cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 4.0.0 (including) | 4.2.2 (excluding) |
| cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 5.0.0 (including) | 5.0.2 (excluding) |
| cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



