{"id":"CVE-2018-6342","state":"PUBLISHED","title":"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 pro","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.","publishedAt":"2018-12-31T22:00:00.000Z","updatedAt":"2025-05-06T16:07:37.832Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"facebook","products":["Facebook react-dev-utils"],"affected":[{"vendor":"Facebook","product":"react-dev-utils","versions":[{"version":"5.0.2","status":"affected"},{"version":"5.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.2.2","status":"affected"},{"version":"4.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"3.1.2","status":"affected"},{"version":"3.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"2.0.2","status":"affected"},{"version":"2.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"1.0.4","status":"affected"},{"version":"1.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"unaffected","lessThan":"1.0.0","versionType":"custom"}]}],"references":["https://github.com/facebook/create-react-app/releases/tag/v1.1.5","https://github.com/facebook/create-react-app/pull/4866"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6342.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6342","state":"PUBLISHED","datePublished":"2018-12-31T22:00:00.000Z","dateUpdated":"2025-05-06T16:07:37.832Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2018-01-26T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Facebook","product":"react-dev-utils","versions":[{"version":"5.0.2","status":"affected"},{"version":"5.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.2.2","status":"affected"},{"version":"4.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"3.1.2","status":"affected"},{"version":"3.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"2.0.2","status":"affected"},{"version":"2.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"1.0.4","status":"affected"},{"version":"1.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"unaffected","lessThan":"1.0.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/create-react-app/pull/4866","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"Improper Neutralization of Special Elements used in an OS Command (CWE-78)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2018-12-31T21:57:01.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2018-08-24T00:00:00.000Z","datePublic":"2018-12-31T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2018-08-24","ID":"CVE-2018-6342","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"react-dev-utils","version":{"version_data":[{"version_affected":"!=>","version_value":"5.0.2"},{"version_affected":">=","version_value":"5.0.0"},{"version_affected":"!=>","version_value":"4.2.2"},{"version_affected":">=","version_value":"4.0.0"},{"version_affected":"!=>","version_value":"3.1.2"},{"version_affected":">=","version_value":"3.0.0"},{"version_affected":"!=>","version_value":"2.0.2"},{"version_affected":">=","version_value":"2.0.0"},{"version_affected":"!=>","version_value":"1.0.4"},{"version_affected":">=","version_value":"1.0.0"},{"version_affected":"!<","version_value":"1.0.0"}]}}]},"vendor_name":"Facebook"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Neutralization of Special Elements used in an OS Command (CWE-78)"}]}]},"references":{"reference_data":[{"name":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5","refsource":"MISC","url":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5"},{"name":"https://github.com/facebook/create-react-app/pull/4866","refsource":"MISC","url":"https://github.com/facebook/create-react-app/pull/4866"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/facebook/create-react-app/releases/tag/v1.1.5","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/facebook/create-react-app/pull/4866","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:01:48.691Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-06T16:07:33.499324Z","id":"CVE-2018-6342","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-06T16:07:37.832Z"}}]}}}