CVEBrief

Home / Facebook / react-dev-utils / CVE-2018-6342

CVE-2018-6342: is it exploited, and which versions of Facebook react-dev-utils are affected and fixed?

CVE-2018-6342 is an OS command injection vulnerability in Facebook react-dev-utils. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: react-dev-utils from 1.0.0 before 1.0.4, react-dev-utils from 2.0.0 before 2.0.2, react-dev-utils from 3.0.0 before 3.1.2 and 2 more (GitHub advisory GHSA-29gp-92wp-94q8). Fixed in 1.0.4, 2.0.2, 3.1.2, 4.2.2 and 1 more (GitHub advisory GHSA-29gp-92wp-94q8). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 07:38 UTC
Affected
react-dev-utils from 1.0.0 before 1.0.4, react-dev-utils from 2.0.0 before 2.0.2, react-dev-utils from 3.0.0 before 3.1.2 and 2 more
GitHub advisory GHSA-29gp-92wp-94q8
Fixed in
1.0.4, 2.0.2, 3.1.2, 4.2.2 and 1 more
GitHub advisory GHSA-29gp-92wp-94q8
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
2.84% in 30 days
higher than 87% of CVEs; FIRST, December 2, 2026

What is CVE-2018-6342?

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.

From the CVE record by facebook, last updated May 6, 2025, 16:07 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Facebookreact-dev-utils5.0.2
from 5.0.0 before unspecified
4.2.2
from 4.0.0 before unspecified
3.1.2
from 3.0.0 before unspecified
2.0.2
from 2.0.0 before unspecified
1.0.4
from 1.0.0 before unspecified
unspecified

As the CVE record by facebook states it, last updated May 6, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmreact-dev-utils>= 1.0.0, < 1.0.41.0.4GHSA-29gp-92wp-94q8
npmreact-dev-utils>= 2.0.0, < 2.0.22.0.2GHSA-29gp-92wp-94q8
npmreact-dev-utils>= 3.0.0, < 3.1.23.1.2GHSA-29gp-92wp-94q8
npmreact-dev-utils>= 4.0.0, < 4.2.24.2.2GHSA-29gp-92wp-94q8
npmreact-dev-utils>= 5.0.0, < 5.0.25.0.2GHSA-29gp-92wp-94q8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 3, 2022. Summary: react-dev-utils on Windows vulnerable to Remote Code Execution.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
facebookreact-dev-utilsfrom 1.0.0 before 1.0.4application
facebookreact-dev-utilsfrom 2.0.0 before 2.0.2application
facebookreact-dev-utilsfrom 3.0.0 before 3.1.2application
facebookreact-dev-utilsfrom 4.0.0 before 4.2.2application
facebookreact-dev-utilsfrom 5.0.0 before 5.0.2application

NVD analysis (status Modified), last modified June 17, 2026, 02:01 UTC.

How severe is CVE-2018-6342?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 10.0CVSS 2.0AV:N/AC:L/Au:N/C:C/I:C/A:CNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2018-6342 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 6, 2025)
EPSS
2.84% probability of exploitation activity in the next 30 days, percentile 87.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 26, 2018
Published
December 31, 2018, 22:00 UTC
CVE record updated
May 6, 2025, 16:07 UTC by facebook
NVD
Modified, last modified June 17, 2026, 02:01 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect react-dev-utils?

Every CVE in react-dev-utils

Questions about CVE-2018-6342

Is CVE-2018-6342 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Facebook react-dev-utils are affected by CVE-2018-6342?

react-dev-utils from 1.0.0 before 1.0.4, react-dev-utils from 2.0.0 before 2.0.2, react-dev-utils from 3.0.0 before 3.1.2, react-dev-utils from 4.0.0 before 4.2.2 and react-dev-utils from 5.0.0 before 5.0.2, per the GitHub advisory GHSA-29gp-92wp-94q8. The tables above give every range the sources list.

Which version fixes CVE-2018-6342?

1.0.4, 2.0.2, 3.1.2, 4.2.2 and 5.0.2, per the GitHub advisory GHSA-29gp-92wp-94q8. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-6342?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2018-6342?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.