GHSA-8xqr-4cpm-wx7g
Dashboard / Vulnerabilities / GHSA-8xqr-4cpm-wx7g
GHSA-8xqr-4cpm-wx7g
Published: 31 May 2019Last Modified: 31 Aug 2020
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. ## Recommendation Update to version 2.2.18 or later.
References: https://github.com/tanem/react-svg/pull/57, https://github.com/tanem/react-svg/pull/57/commits/ec7de5d678f53a085cee1348cb1aa069c9fc42fb, https://www.npmjs.com/advisories/648
Affected packages
Package
Name: react-svg
Purl: pkg:npm/react-svg
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -2.2.18
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
