原始 OSV JSON{
"id": "GHSA-g53w-52xc-2j85",
"aliases": [
"CVE-2013-7035"
],
"details": "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.",
"summary": "Cross-Site Scripting in react",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.4.0"
},
{
"fixed": "0.4.2"
}
]
}
],
"package": {
"name": "react",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.5.0"
},
{
"fixed": "0.5.2"
}
]
}
],
"package": {
"name": "react",
"ecosystem": "npm"
}
}
],
"modified": "2021-10-04T19:11:02Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"published": "2020-09-04T16:52:57Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-7035",
"type": "ADVISORY"
},
{
"url": "https://github.com/facebook/react/commit/393a889aaceb761f058b09a701f889fa8f8b4e64",
"type": "WEB"
},
{
"url": "https://github.com/facebook/react/commit/94a9a3e752fe089ab23f3a90c26d20d46d62ab10",
"type": "WEB"
},
{
"url": "https://github.com/facebook/react",
"type": "PACKAGE"
},
{
"url": "https://reactjs.org/blog/2013/12/18/react-v0.5.2-v0.4.2.html",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/npm:react:20131217",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:58:42Z"
}
}