cve.bz

CVE-2018-6342

9.8 criticalEPSS 2.8%

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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.8% chance of exploitation in the next 30 days; higher than 86% of CVEs (scores of 2026-10-31)
CWE
CWE-78
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-29gp-92wp-94q8npmreact-dev-utils>=1.0.0 <1.0.41.0.4
GHSA-29gp-92wp-94q8npmreact-dev-utils>=2.0.0 <2.0.22.0.2
GHSA-29gp-92wp-94q8npmreact-dev-utils>=3.0.0 <3.1.23.1.2
GHSA-29gp-92wp-94q8npmreact-dev-utils>=4.0.0 <4.2.24.2.2
GHSA-29gp-92wp-94q8npmreact-dev-utils>=5.0.0 <5.0.25.0.2

References

Check your stackJSON