{"schemaVersion":3,"id":"CVE-2018-6342","aliases":["GHSA-29gp-92wp-94q8"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-12-31T22:00:00.000Z","modified":"2025-05-06T16:07:37.832Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02845,"percentile":0.86509,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02845},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02845,"percentile":0.86509}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02845,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02845,"percentile":0.86509}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"facebook","product":"react-dev-utils","name":"react-dev-utils","label":"react-dev-utils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"4.2.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"3.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"2.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"1.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < 1.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.2.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.0.2 | ≥ 5.0.0, < unspecified | 4.2.2 | ≥ 4.0.0, < unspecified | 3.1.2 | ≥ 3.0.0, < unspecified | 2.0.2 | ≥ 2.0.0, < unspecified | 1.0.4 | ≥ 1.0.0, < unspecified | ≥ 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","eol":null,"hubHref":"/vendor/facebook/react-dev-utils"},{"vendor":"Npm","product":"react-dev-utils","name":"react-dev-utils","label":"react-dev-utils","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/react-dev-utils","purlType":"npm","versions":[{"text":"≥ 1.0.0, < 1.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.2.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5","label":"github.com/facebook/create-react-app/releases/tag/v1.1.5","hostname":"github.com","tags":["X Refsource MISC","Release Notes","Third Party Advisory","WEB"]},{"url":"https://github.com/facebook/create-react-app/pull/4866","label":"github.com/facebook/create-react-app/pull/4866","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6342","label":"nvd.nist.gov/vuln/detail/CVE-2018-6342","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-29gp-92wp-94q8","label":"github.com/advisories/GHSA-29gp-92wp-94q8","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/facebook/create-react-app","label":"github.com/facebook/create-react-app","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.npmjs.com/advisories/695","label":"www.npmjs.com/advisories/695","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-12-31T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-06T16:07:37.832Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:12:12.714Z","stale":false,"partial":false}}