{"id":"GHSA-8xqr-4cpm-wx7g","summary":"Cross-Site Scripting in react-svg","details":"Versions of `react-svg` before 2.2.18 are vulnerable to cross-site scripting (xss). This is due to the fact that scripts found in SVG files are run by default.\n\n\n## Recommendation\n\nUpdate to version 2.2.18 or later.","modified":"2020-08-31T18:31:14Z","published":"2019-05-31T23:47:27Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-05-31T23:44:58Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/tanem/react-svg/pull/57"},{"type":"WEB","url":"https://github.com/tanem/react-svg/pull/57/commits/ec7de5d678f53a085cee1348cb1aa069c9fc42fb"},{"type":"WEB","url":"https://www.npmjs.com/advisories/648"}],"affected":[{"package":{"name":"react-svg","ecosystem":"npm","purl":"pkg:npm/react-svg"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.18"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-8xqr-4cpm-wx7g/GHSA-8xqr-4cpm-wx7g.json"}}],"schema_version":"1.9.0"}