CVE-2018-6342

CRITICAL

react-dev-utils <1.0.4, <2.0.2, <3.1.2, <4.2.2, <5.0.2 - OS Command Injection

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/facebook/create-react-app/releases/tag/v1.1.5
Third Party Advisory x_refsource_misc
https://github.com/facebook/create-react-app/pull/4866

Scores

CVSS v3 9.8
EPSS 0.0284
EPSS Percentile 84.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
facebook/react-dev-utils 1.0.0 - 1.0.4
npm/react-dev-utils 1.0.0 - 1.0.4npm
Published Dec 31, 2018
Tracked Since Feb 18, 2026