Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| React | >= 16.0.0, < 16.0.1 |
Related Weaknesses (CWE)
References
- https://reactjs.org/blog/2018/08/01/react-v-16-4-2.htmlVendor Advisory
- https://twitter.com/reactjs/status/1024745321987887104Vendor Advisory
- https://reactjs.org/blog/2018/08/01/react-v-16-4-2.htmlVendor Advisory
- https://twitter.com/reactjs/status/1024745321987887104Vendor Advisory
FAQ
What is CVE-2018-6341?
CVE-2018-6341 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 vulner...
How severe is CVE-2018-6341?
CVE-2018-6341 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-6341?
Check the references section above for vendor advisories and patch information. Affected products include: Facebook React.