CVE-2013-7035 Cross-Site Scripting in react
MediumCVSS 6.5
- Published
- Unknown
- Updated
- Exploit status
- No public exploit known
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
If you are using react 0.5.x, upgrade to version 0.5.2 or later.
If you are using react 0.4.x, upgrade to version 0.4.2 or later.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm react(npm) | >= 0.4.0, < 0.4.2 | 0.4.2 |
| npm react(npm) | >= 0.5.0, < 0.5.2 | 0.5.2 |
References
- reactjs.org
- snyk.io
- nvd.nist.gov third-party-advisory
- github.com patch
- github.com patch
- github.com