CVE-2018-6341
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
31/12/2018
Last modified:
06/05/2025
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.
Impact
Base Score 3.x
6.10
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.0.0 (including) | 16.0.1 (excluding) |
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.1.0 (including) | 16.1.2 (excluding) |
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.2.0 (including) | 16.2.1 (excluding) |
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.3.0 (including) | 16.3.3 (excluding) |
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.4.0 (including) | 16.4.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



