Vulnerabilities · 2018 · Facebook
CVE-2018-6341
Facebook React vulnerability
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 products
React. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Facebook React runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Facebook products
CVE-2025-67779CVE-2025-55184CVE-2025-55183CVE-2025-55182CVE-2025-55181CVE-2024-23347CVE-2023-49062CVE-2023-45239All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.