Description
Affected versions of react are vulnerable to Cross-Site Scripting (XSS). The package fails to properly sanitize input used to create keys. This may allow attackers to execute arbitrary JavaScript if a key is generated from user input.
Recommendation
Update the react package to the latest compatible version. Followings are version details:
Affected version(s): **>= 0.5.0, < 0.5.2 >= 0.4.0, < 0.4.2** Patched version(s): **0.5.2 0.4.2**
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site Scripting in react - react and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross site scripting in @awsui/components-react - CVE-2022-24709
- jplayer Cross Site Scripting vulnerability - CVE-2013-2022
- Cross-Site Scripting in yui - CVE-2013-4939
- YUI Cross-site Scripting (XSS) vulnerability - CVE-2013-4942


