Critical severity9.8NVD Advisory· Published Dec 31, 2018· Updated Jun 17, 2026
CVE-2018-6342
CVE-2018-6342
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
react-dev-utilsnpm | >= 1.0.0, < 1.0.4 | 1.0.4 |
react-dev-utilsnpm | >= 2.0.0, < 2.0.2 | 2.0.2 |
react-dev-utilsnpm | >= 3.0.0, < 3.1.2 | 3.1.2 |
react-dev-utilsnpm | >= 4.0.0, < 4.2.2 | 4.2.2 |
react-dev-utilsnpm | >= 5.0.0, < 5.0.2 | 5.0.2 |
Affected products
3cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*range: >=1.0.0,<1.0.4
- (no CPE)range: 5.0.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-29gp-92wp-94q8ghsaADVISORY
- github.com/facebook/create-react-app/pull/4866nvdThird Party AdvisoryWEB
- github.com/facebook/create-react-app/releases/tag/v1.1.5nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-6342ghsaADVISORY
- www.npmjs.com/advisories/695ghsaWEB
News mentions
0No linked articles in our index yet.