{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-6342","id":"CVE-2018-6342","title":"react-dev-utils on Windows vulnerable to Remote Code Execution","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 ","descriptionLong":"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.","published":"2018-12-31T22:00:00.000Z","updated":"2026-10-20T10:49:55.903615423Z","reserved":"2018-01-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"facebook","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":["Facebook react-dev-utils"],"affectedProducts":[{"vendor":"Facebook","product":"react-dev-utils","defaultStatus":null,"versions":[{"status":"affected","version":"5.0.2"},{"lessThan":"unspecified","status":"affected","version":"5.0.0","versionType":"custom"},{"status":"affected","version":"4.2.2"},{"lessThan":"unspecified","status":"affected","version":"4.0.0","versionType":"custom"},{"status":"affected","version":"3.1.2"},{"lessThan":"unspecified","status":"affected","version":"3.0.0","versionType":"custom"},{"status":"affected","version":"2.0.2"},{"lessThan":"unspecified","status":"affected","version":"2.0.0","versionType":"custom"},{"status":"affected","version":"1.0.4"},{"lessThan":"unspecified","status":"affected","version":"1.0.0","versionType":"custom"},{"lessThan":"1.0.0","status":"unaffected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=1.0.0 <1.0.4",">=2.0.0 <2.0.2",">=3.0.0 <3.1.2",">=4.0.0 <4.2.2",">=5.0.0 <5.0.2"],"fixed":["1.0.4","2.0.2","3.1.2","4.2.2","5.0.2"],"advisory":"GHSA-29gp-92wp-94q8"}],"cwes":["CWE-78"],"aliases":["GHSA-29gp-92wp-94q8"],"references":[{"url":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/facebook/create-react-app/pull/4866","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6342","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-29gp-92wp-94q8","tags":["advisory"]},{"url":"https://github.com/facebook/create-react-app","tags":["package"]},{"url":"https://www.npmjs.com/advisories/695","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.02845,"epssPercentile":0.86967,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-6342","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6342","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-6342","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-29gp-92wp-94q8","ok":true,"note":"GHSA-29gp-92wp-94q8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-6342","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["react"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}