CVE-2018-6341
At a glance Severity MEDIUM 6.1 EPSS EPSS 3.43 % · percentile 89 (2026-10-27) State PUBLISHED Published 2018-12-31 Updated 2025-05-06 Assigner facebook NVD status Modified
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.
Scores Version Score Vector Scored by CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CISA-ADP CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD · nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
Advisories
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* ≥ 16.0.0 < 16.0.1cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* ≥ 16.1.0 < 16.1.2cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* ≥ 16.2.0 < 16.2.1cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* ≥ 16.3.0 < 16.3.3cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* ≥ 16.4.0 < 16.4.2
Affected products Product Versions Facebook · react-dom affected 16.4.2 ; affected 16.4.0 < unspecified ; affected 16.3.3 ; affected 16.3.0 < unspecified ; affected 16.2.1 ; affected 16.2.0 < unspecified
References
Sources