CVE-2018-6341
published medium CVSS 3.1 · 6.1react-dom vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | react-dom16.4.2 (affected) · 16.4.0 to < unspecified (affected · custom) · 16.3.3 (affected) · 16.3.0 to < unspecified (affected · custom) · 16.2.1 (affected) · 16.2.0 to < unspecified (affected · custom) · 16.1.2 (affected) · 16.1.0 to < unspecified (affected · custom) · 16.0.1 (affected) · 16.0.0 to < unspecified (affected · custom) · unspecified to < 16.0.0 (unaffected · custom) | Version-specific | Not stated |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| react-dom | 16.4.2 (affected)16.4.0 to < unspecified (affected · custom)16.3.3 (affected)16.3.0 to < unspecified (affected · custom)16.2.1 (affected)16.2.0 to < unspecified (affected · custom)16.1.2 (affected)16.1.0 to < unspecified (affected · custom)16.0.1 (affected)16.0.0 to < unspecified (affected · custom)unspecified to < 16.0.0 (unaffected · custom) | facebook · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation (CWE-79)
References
2Provider assertions
3facebook · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 29771ed400f91c4a1a0e3a42cf2fe02e7ef33b4fbbf577fc40244502a6aec454
- Ingested
- 23 Sep 2026, 07:44:57 UTC
- Source record
- Official CVE record