75 行
2.2 KiB
JSON
75 行
2.2 KiB
JSON
{
|
|
"canonical_id": "react--GHSA-hg79-j56m-fxgv",
|
|
"system_id": "react",
|
|
"display_name": "React",
|
|
"category": "frameworks",
|
|
"advisory_mode": "core",
|
|
"title": "Cross-Site Scripting in react",
|
|
"summary": "Versions of `react` prior to 0.14.0 are vulnerable to Cross-Site Scripting (XSS). The package's `createElement` function fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 0.14.0 or later.",
|
|
"published_at": "2020-09-04T15:26:04Z",
|
|
"updated_at": "2021-10-01T20:15:16Z",
|
|
"severity": "unknown",
|
|
"cvss_score": null,
|
|
"exploit_status": "unknown",
|
|
"source_confidence": "official",
|
|
"official_source_url": "https://github.com/facebook/react",
|
|
"secondary_source_urls": [
|
|
"https://reactjs.org/blog/2015/10/07/react-v0.14.html#notable-enhancements",
|
|
"https://reactjs.org/blog/2019/10/22/react-release-channels.html#experimental-channel",
|
|
"https://snyk.io/vuln/npm:react:20150318",
|
|
"https://www.npmjs.com/advisories/1347",
|
|
"http://danlec.com/blog/xss-via-a-spoofed-react-element"
|
|
],
|
|
"aliases": [
|
|
"GHSA-hg79-j56m-fxgv"
|
|
],
|
|
"cve_ids": [],
|
|
"ghsa_ids": [
|
|
"GHSA-hg79-j56m-fxgv"
|
|
],
|
|
"osv_ids": [
|
|
"GHSA-hg79-j56m-fxgv"
|
|
],
|
|
"affected_versions": [
|
|
"introduced=0.0.1, fixed<0.14.0"
|
|
],
|
|
"fixed_versions": [
|
|
"0.14.0"
|
|
],
|
|
"package_name": "react",
|
|
"render_markdown": true,
|
|
"case_path": "07-framework-security/frameworks/react/cases/react-ghsa-hg79-j56m-fxgv.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
|
|
}
|
|
}
|