{ "canonical_id": "react--CVE-2013-7035", "system_id": "react", "display_name": "React", "category": "frameworks", "advisory_mode": "core", "title": "Cross-Site Scripting in react", "summary": "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.\n\n\n## Recommendation\n\nIf you are using `react` 0.5.x, upgrade to version 0.5.2 or later.\nIf you are using `react` 0.4.x, upgrade to version 0.4.2 or later.", "published_at": "2020-09-04T16:52:57Z", "updated_at": "2023-11-08T03:57:27.158332Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-7035", "secondary_source_urls": [ "https://github.com/facebook/react/commit/393a889aaceb761f058b09a701f889fa8f8b4e64", "https://github.com/facebook/react/commit/94a9a3e752fe089ab23f3a90c26d20d46d62ab10", "https://github.com/facebook/react", "https://reactjs.org/blog/2013/12/18/react-v0.5.2-v0.4.2.html", "https://snyk.io/vuln/npm:react:20131217" ], "aliases": [ "CVE-2013-7035", "GHSA-g53w-52xc-2j85" ], "cve_ids": [ "CVE-2013-7035" ], "ghsa_ids": [ "GHSA-g53w-52xc-2j85" ], "osv_ids": [ "GHSA-g53w-52xc-2j85" ], "affected_versions": [ "introduced=0.4.0, fixed<0.4.2", "introduced=0.5.0, fixed<0.5.2" ], "fixed_versions": [ "0.4.2", "0.5.2" ], "package_name": "react", "render_markdown": true, "case_path": "07-framework-security/frameworks/react/cases/react-cve-2013-7035.md", "secure_code_topics": [ "xss-output-encoding", "dom-sink-hardening", "csp-trusted-types", "dependency-upgrade-policy" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV React" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }