CVE-2018-6342

published 31 Dec 2018 · updated 6 May 2025

react-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an…

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook=1.0.4, =2.0.2, =3.1.2, =4.2.2, =5.0.2, >=1.0.0 <unspecified, >=2.0.0 <unspecified, >=3.0.0 <unspecified, >=4.0.0 <unspecified, >=5.0.0 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-6342 severity on Zeptric[![CVE-2018-6342](https://zeptric.io/badge/cve/CVE-2018-6342.svg)](https://zeptric.io/cve/CVE-2018-6342)