Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2018-6341
Published:December 31, 2018
Updated:May 17, 2026
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 Packages
react-dom (CDN_JS):
Affected version(s) =16.0.0 <16.0.1
Fix Suggestion:
Update to version 16.0.1
react-dom (CDN_JS):
Affected version(s) >=16.4.0 <16.4.2
Fix Suggestion:
Update to version 16.4.2
react-dom (CDN_JS):
Affected version(s) =16.2.0 <16.2.1
Fix Suggestion:
Update to version 16.2.1
react-dom (CDN_JS):
Affected version(s) >=16.1.0 <16.1.2
Fix Suggestion:
Update to version 16.1.2
react-dom (CDN_JS):
Affected version(s) >=16.3.0 <16.3.3
Fix Suggestion:
Update to version 16.3.3
react-dom (NPM):
Affected version(s) >=16.4.0 <16.4.2
Fix Suggestion:
Update to version 16.4.2
react-dom (NPM):
Affected version(s) >=16.3.0 <16.3.3
Fix Suggestion:
Update to version 16.3.3
react-dom (NPM):
Affected version(s) =16.2.0 <16.2.1
Fix Suggestion:
Update to version 16.2.1
react-dom (NPM):
Affected version(s) >=16.1.0 <16.1.2
Fix Suggestion:
Update to version 16.1.2
react-dom (NPM):
Affected version(s) =16.0.0 <16.0.1
Fix Suggestion:
Update to version 16.0.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
CVSS v2
Base Score:
4.3
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
10.57