VYPR
Critical severity9.8NVD Advisory· Published Dec 31, 2018· Updated Jun 17, 2026

CVE-2018-6342

CVE-2018-6342

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
react-dev-utilsnpm
>= 1.0.0, < 1.0.41.0.4
react-dev-utilsnpm
>= 2.0.0, < 2.0.22.0.2
react-dev-utilsnpm
>= 3.0.0, < 3.1.23.1.2
react-dev-utilsnpm
>= 4.0.0, < 4.2.24.2.2
react-dev-utilsnpm
>= 5.0.0, < 5.0.25.0.2

Affected products

3
  • cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*range: >=1.0.0,<1.0.4
    • (no CPE)range: 5.0.2
  • ghsa-coords
    Range: >= 1.0.0, < 1.0.4

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.