10

CVE-2018-6342: facebook react-dev-utils OS Command Injection

CVSS: 10.0v2.0HighModified
AliasesGHSA-29gp-92wp-94q8
Published 31-12-2018Last modified 06-05-2025

Vulnerability summary

CVE-2018-6342 is a high (CVSS 10.0) OS Command Injection vulnerability in facebook react-dev-utils. EPSS estimates a 2.84% chance of exploitation in the next 30 days, higher than 86.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
2.84%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 31-12-2018
    PublishedVulnerability first disclosed.
  2. 06-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

2.84%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

0.00 pp

From 2.84% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.84%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Facebook1 product
  • react-dev-utils5.0.2 | ≥ 5.0.0, < unspecified | 4.2.2 | ≥ 4.0.0, < unspecified | 3.1.2 | ≥ 3.0.0, < unspecified | 2.0.2 | ≥ 2.0.0, < unspecified | 1.0.4 | ≥ 1.0.0, < unspecified | ≥ 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
Npm1 product
  • 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

2 vendors · 2 products

References

6 links