Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc1M3ctNTJ4Yy0yajg1
Cross-Site Scripting in react
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc1M3ctNTJ4Yy0yajg1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 4 years ago
Updated: over 1 year ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Identifiers: GHSA-g53w-52xc-2j85, CVE-2013-7035
References:
- https://reactjs.org/blog/2013/12/18/react-v0.5.2-v0.4.2.html
- https://snyk.io/vuln/npm:react:20131217
- https://nvd.nist.gov/vuln/detail/CVE-2013-7035
- https://github.com/facebook/react/commit/393a889aaceb761f058b09a701f889fa8f8b4e64
- https://github.com/facebook/react/commit/94a9a3e752fe089ab23f3a90c26d20d46d62ab10
- https://github.com/advisories/GHSA-g53w-52xc-2j85
Blast Radius: 41.9
Affected Packages
npm:react
Dependent packages: 275,174Dependent repositories: 2,830,385
Downloads: 108,810,147 last month
Affected Version Ranges: >= 0.5.0, < 0.5.2, >= 0.4.0, < 0.4.2
Fixed in: 0.5.2, 0.4.2
All affected versions: 0.5.0, 0.5.1
All unaffected versions: 0.0.1, 0.0.2, 0.0.3, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.3.4, 0.3.5, 0.5.2, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.9, 0.14.10, 15.0.0, 15.0.1, 15.0.2, 15.1.0, 15.2.0, 15.2.1, 15.3.0, 15.3.1, 15.3.2, 15.4.0, 15.4.1, 15.4.2, 15.5.0, 15.5.1, 15.5.2, 15.5.3, 15.5.4, 15.6.0, 15.6.1, 15.6.2, 15.7.0, 16.0.0, 16.1.0, 16.1.1, 16.2.0, 16.3.0, 16.3.1, 16.3.2, 16.4.0, 16.4.1, 16.4.2, 16.5.0, 16.5.1, 16.5.2, 16.6.0, 16.6.1, 16.6.2, 16.6.3, 16.7.0, 16.8.0, 16.8.1, 16.8.2, 16.8.3, 16.8.4, 16.8.5, 16.8.6, 16.9.0, 16.10.0, 16.10.1, 16.10.2, 16.11.0, 16.12.0, 16.13.0, 16.13.1, 16.14.0, 17.0.0, 17.0.1, 17.0.2, 18.0.0, 18.1.0, 18.2.0, 18.3.0, 18.3.1