{"id":"GHSA-hg79-j56m-fxgv","summary":"Cross-Site Scripting in react","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.","modified":"2021-10-01T20:15:16Z","published":"2020-09-04T15:26:04Z","database_specific":{"github_reviewed_at":"2020-08-31T18:55:53Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"PACKAGE","url":"https://github.com/facebook/react"},{"type":"WEB","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"}],"affected":[{"package":{"name":"react","ecosystem":"npm","purl":"pkg:npm/react"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.1"},{"fixed":"0.14.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-hg79-j56m-fxgv/GHSA-hg79-j56m-fxgv.json"}}],"schema_version":"1.9.0"}