XSS in Facebook React

CVE-2018-6341

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.034 (87.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-6341?
CVE-2018-6341 is a medium-severity vulnerability in Facebook React, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-12-31.
How severe is CVE-2018-6341?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2018-6341 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.