Skip to content
Fencer Intel
critical 9.8

CVE-2018-6342 json

react-dev-utils on Windows vulnerable to Remote Code Execution

published 2018-12-31 7 y ago modified 2026-06-17 4 mo ago also GHSA-29gp-92wp-94q8 , EUVD-2019-0169

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.8%
EPSS 2.8% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm react-dev-utils 1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2
  • facebook react-dev-utils 1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

2.84% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected packages

ecosystem package affected fixed in
npm 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
1.0.4
2.0.2
3.1.2
4.2.2
5.0.2

Affected products

  • Facebook react-dev-utils

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.