CVE-2018-6341

MEDIUM
6.1
CVSS Score
Published: December 31, 2018 at 10:00 PM UTC
Updated: June 17, 2026 at 02:01 AM UTC
1 product affected across 1 vendorReact

Using react-dom by Facebook?

Get instant alerts when new vulnerabilities affect react-dom - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 16.0.0v ≥ 16.1.0v ≥ 16.2.0v ≥ 16.3.0v ≥ 16.4.016.0.0 ≤ v < 16.0.116.1.0 ≤ v < 16.1.216.2.0 ≤ v < 16.2.116.3.0 ≤ v < 16.3.316.4.0 ≤ v < 16.4.216.0.016.0.116.1.016.1.216.2.016.2.116.3.016.3.316.4.016.4.2
Vendor states this is fixed in 16.0.0 (unaffected)
Affected range stops below 16.0.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.1.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.2.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.3.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.4.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card