CVE-2018-6342
CRITICAL 9.8CVSS 3.1react-dev-utils on Windows vulnerable to Remote Code Execution
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.
- Published
- 31 Dec 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve-assign@fb.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-29gp-92wp-94q8
- Sources
- NVDJSONOSV GHSA-29gp-92wp-94q8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | react-dev-utilscpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.0.4 | 1.0.4 | |
| NVD | react-dev-utilscpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.2 | 2.0.2 | |
| NVD | react-dev-utilscpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.2 | 3.1.2 | |
| NVD | react-dev-utilscpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.2.2 | 4.2.2 | |
| NVD | react-dev-utilscpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.2 | 5.0.2 | |
| OSV | npm | react-dev-utils | >= 1.0.0, < 1.0.4 | 1.0.4 |
| OSV | npm | react-dev-utils | >= 2.0.0, < 2.0.2 | 2.0.2 |
| OSV | npm | react-dev-utils | >= 3.0.0, < 3.1.2 | 3.1.2 |
| OSV | npm | react-dev-utils | >= 4.0.0, < 4.2.2 | 4.2.2 |
| OSV | npm | react-dev-utils | >= 5.0.0, < 5.0.2 | 5.0.2 |
References
- https://github.com/facebook/create-react-app/pull/4866 · Third Party Advisory, WEB
- https://github.com/facebook/create-react-app/releases/tag/v1.1.5 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-6342 · ADVISORY
- https://github.com/advisories/GHSA-29gp-92wp-94q8 · ADVISORY
- https://github.com/facebook/create-react-app · PACKAGE
- https://www.npmjs.com/advisories/695 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 Dec 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Jan 2019)