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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
2.845%
chance of exploitation in the next 30 days
higher than 86.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impacttotal
Scored2025-05-06

Timeline

  1. 2018-12-31Published by the CNA22:00 UTC
  2. 2019-01-04GitHub advisory published (GHSA-29gp-92wp-94q8)4 days after publication
  3. 2025-05-06CISA SSVC decision recorded2318 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-29gp-92wp-94q8, affected packages:

PackageVulnerable versionsFixed in
npm react-dev-utilsfrom 1.0.0 before 1.0.41.0.4
npm react-dev-utilsfrom 2.0.0 before 2.0.22.0.2
npm react-dev-utilsfrom 3.0.0 before 3.1.23.1.2
npm react-dev-utilsfrom 4.0.0 before 4.2.24.2.2
npm react-dev-utilsfrom 5.0.0 before 5.0.25.0.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
facebook react-dev-utilsfrom 1.0.0 before 1.0.4fixed in 1.0.4from 2.0.0 before 2.0.2fixed in 2.0.2from 3.0.0 before 3.1.2fixed in 3.1.2from 4.0.0 before 4.2.2fixed in 4.2.2from 5.0.0 before 5.0.2fixed in 5.0.21.0.42.0.23.1.24.2.25.0.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources