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
Related Issues
- Cross-site scripting in react-bootstrap-table - CVE-2021-23398
- Node Connect Reflected Cross-Site Scripting in Sencha Labs Connect middleware - CVE-2013-7371
- jplayer Cross Site Scripting vulnerability - CVE-2013-2022
- methodOverride Middleware Reflected Cross-Site Scripting in connect - CVE-2013-7370
You might also like:
- Tags:
- npm
- react
Anything's wrong? Let us know Last updated on May 22, 2023


