{"cve":"CVE-2018-6342","nvd":{"published":"2018-12-31T22:29:00.467","modified":"2026-06-17T02:01:42.190","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78"],"references":["https://github.com/facebook/create-react-app/pull/4866","https://github.com/facebook/create-react-app/releases/tag/v1.1.5","https://github.com/facebook/create-react-app/pull/4866","https://github.com/facebook/create-react-app/releases/tag/v1.1.5"],"products":["facebook:react-dev-utils"],"source":"nvd","synced_at":"2026-10-19T20:54:36.112582389+00:00"},"epss":{"cve":"CVE-2018-6342","score":0.02845,"percentile":0.86693,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-29gp-92wp-94q8","url":"https://osv.dev/vulnerability/GHSA-29gp-92wp-94q8","summary":"react-dev-utils on Windows vulnerable to Remote Code Execution","modified":"2023-11-08T04:00:21.268782Z","packages":[{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=1.0.0 <1.0.4"],"fixed":["1.0.4"]},{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]},{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=3.0.0 <3.1.2"],"fixed":["3.1.2"]},{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=4.0.0 <4.2.2"],"fixed":["4.2.2"]},{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=5.0.0 <5.0.2"],"fixed":["5.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}