# CVE-2018-6341

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-12-31 · Modified: 2025-05-06
- Aliases: GHSA-mvjj-gqq2-p4hw
- Record: https://cvemate.com/vulnerability/CVE-2018-6341 · JSON: https://cvemate.com/vulnerability/CVE-2018-6341/json

## Description

```text
React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 3.426%, percentile 89.296%, 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: ≥ 16.0.0, \< 16.0.1 \| ≥ 16.1.0, \< 16.1.2 \| ≥ 16.2.0, \< 16.2.1 \| ≥ 16.3.0, \< 16.3.3 \| ≥ 16.4.0, \< 16.4.2
- facebook react-dom: 16.4.2 \| ≥ 16.4.0, \< unspecified \| 16.3.3 \| ≥ 16.3.0, \< unspecified \| 16.2.1 \| ≥ 16.2.0, \< unspecified \| 16.1.2 \| ≥ 16.1.0, \< unspecified \| 16.0.1 \| ≥ 16.0.0, \< unspecified
- Npm react-dom (Npm): ≥ 16.0.0, \< 16.0.1 \| ≥ 16.1.0, \< 16.1.2 \| ≥ 16.2.0, \< 16.2.1 \| ≥ 16.3.0, \< 16.3.3 \| ≥ 16.4.0, \< 16.4.2

## References

- <https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html>
- <https://twitter.com/reactjs/status/1024745321987887104>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-6341>
- <https://github.com/advisories/GHSA-mvjj-gqq2-p4hw>
- <https://snyk.io/vuln/npm:react-dom:20180802>
- <https://www.npmjs.com/advisories/1421>

---

Data as of 2026-12-05T06:10:47.854Z. 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
