# CVE-2018-6342

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2, unspecified (CNA); fix release not confirmed
- Status: published
- Published: 2018-12-31 · Modified: 2025-05-06
- Aliases: GHSA-29gp-92wp-94q8
- Record: https://cvemate.com/vulnerability/CVE-2018-6342 · JSON: https://cvemate.com/vulnerability/CVE-2018-6342/json

## Description

```text
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.
```

## Signals

- CVSS: 10 high (v2.0, NVD) AV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 2.845%, percentile 87.142%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- facebook react-dev-utils: 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
- Npm react-dev-utils (Npm): ≥ 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

## References

- <https://github.com/facebook/create-react-app/releases/tag/v1.1.5>
- <https://github.com/facebook/create-react-app/pull/4866>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-6342>
- <https://github.com/advisories/GHSA-29gp-92wp-94q8>
- <https://github.com/facebook/create-react-app>
- <https://www.npmjs.com/advisories/695>

---

Data as of 2026-12-05T06:10:44.053Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
