CVE-2018-6342: facebook react-dev-utils OS Command Injection
Vulnerability summary
CVE-2018-6342 is a high (CVSS 10.0) OS Command Injection vulnerability in facebook react-dev-utils. EPSS estimates a 2.84% chance of exploitation in the next 30 days, higher than 86.5% of scored vulnerabilities.
Timeline
- 31-12-2018PublishedVulnerability first disclosed.
- 06-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.84%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
0.00 pp
From 2.84% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Facebook1 product
- react-dev-utils5.0.2 | ≥ 5.0.0, < unspecified | 4.2.2 | ≥ 4.0.0, < unspecified | 3.1.2 | ≥ 3.0.0, < unspecified | 2.0.2 | ≥ 2.0.0, < unspecified | 1.0.4 | ≥ 1.0.0, < unspecified | ≥ 1.0.0, < 1.0.4 | ≥ 2.0.0, < 2.0.2 | ≥ 3.0.0, < 3.1.2 | ≥ 4.0.0, < 4.2.2 | ≥ 5.0.0, < 5.0.2
Npm1 product
- react-dev-utils≥ 1.0.0, < 1.0.4 | ≥ 2.0.0, < 2.0.2 | ≥ 3.0.0, < 3.1.2 | ≥ 4.0.0, < 4.2.2 | ≥ 5.0.0, < 5.0.2
2 vendors · 2 products
References
6 links- github.com/facebook/create-react-app/releases/tag/v1.1.5X Refsource MISCRelease NotesThird Party AdvisoryWEB