Security readout for executives and security teams
Plain-English summary
This flaw affects Windows developer environments using vulnerable react-dev-utils. A development webserver accepted requests that could launch an editor, but did not sanitize input correctly. An attacker able to reach that server, including through CSRF, could run arbitrary commands on the developer’s machine.
Executive priority
Prioritize remediation for Windows development teams and build-adjacent environments. This is not described as a production application flaw, but developer machine compromise can become a supply-chain or credential exposure incident.
Technical view
CVE-2018-6342 is a CWE-78 command injection in react-dev-utils on Windows. The vulnerable local webserver exposed a command path for launching an editor and failed to sanitize input. A network or CSRF request could trigger arbitrary command execution. Fixed versions are 1.0.4, 2.0.2, 3.1.2, 4.2.2, and 5.0.2.
Likely exposure
Exposure is most likely on Windows developer workstations running affected react-dev-utils branches. Risk increases if the development server is reachable beyond localhost or if a developer’s browser can be induced to send a request to it.
Exploitation context
The source bundle supports remote command execution via direct request or CSRF, but does not show active exploitation. The CVE is not marked KEV. Treat as high urgency because compromise of developer workstations can expose credentials, source code, and build systems.
Researcher notes
The strongest evidence is the CVE description plus the create-react-app release and PR references. The bundle does not provide exploit samples, observed attacks, or broader product impact beyond react-dev-utils on Windows.
Mitigation direction
- Upgrade react-dev-utils to the fixed version for the installed branch or later.
- Identify projects using vulnerable create-react-app/react-dev-utils dependency ranges.
- Restrict development servers to localhost where possible.
- Block inbound access to development server ports from untrusted networks.
- Check vendor release notes and PR guidance before accepting residual risk.
Validation and detection
- Review package manifests and lockfiles for affected react-dev-utils versions.
- Confirm Windows developer machines no longer resolve vulnerable dependency versions.
- Verify development servers are not externally reachable.
- Check whether affected branches are present in archived or legacy projects.
- Document remediation evidence for developer workstations and CI images.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2018-6342 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Critical
- CVSS
- 9.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
9.8CriticalVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/facebook/create-react-app/releases/tag/v1.1.5CVE reference · x_refsource_MISC
- https://github.com/facebook/create-react-app/pull/4866CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
