原始 OSV JSON{
"id": "GHSA-hg79-j56m-fxgv",
"aliases": [],
"details": "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.",
"summary": "Cross-Site Scripting in react",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.0.1"
},
{
"fixed": "0.14.0"
}
]
}
],
"package": {
"name": "react",
"ecosystem": "npm"
}
}
],
"modified": "2021-10-01T20:15:16Z",
"severity": [],
"published": "2020-09-04T15:26:04Z",
"references": [
{
"url": "https://github.com/facebook/react",
"type": "PACKAGE"
},
{
"url": "https://reactjs.org/blog/2015/10/07/react-v0.14.html#notable-enhancements",
"type": "WEB"
},
{
"url": "https://reactjs.org/blog/2019/10/22/react-release-channels.html#experimental-channel",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/npm:react:20150318",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/1347",
"type": "WEB"
},
{
"url": "http://danlec.com/blog/xss-via-a-spoofed-react-element",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:55:53Z"
}
}