CVE Database
/

CVE-2018-6342

Back to search

CVE-2018-6342

Published: Dec 31, 2018

Modified: May 6, 2025

PUBLISHED

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.

VendorProductVersions

Facebook

react-dev-utils

affected
5.0.2
affected
5.0.0 - < unspecified
affected
4.2.2
affected
4.0.0 - < unspecified
affected
3.1.2

+6 more versions

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now