Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh4cXItNGNwbS13eDdn
Cross-Site Scripting in react-svg
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.
Permalink: https://github.com/advisories/GHSA-8xqr-4cpm-wx7gJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh4cXItNGNwbS13eDdn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
Identifiers: GHSA-8xqr-4cpm-wx7g
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
- https://github.com/advisories/GHSA-8xqr-4cpm-wx7g
Blast Radius: 0.0
Affected Packages
npm:react-svg
Dependent packages: 388Dependent repositories: 2,581
Downloads: 725,961 last month
Affected Version Ranges: < 2.2.18
Fixed in: 2.2.18
All affected versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15, 2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.2.11, 2.2.12, 2.2.13, 2.2.14, 2.2.15, 2.2.16, 2.2.17
All unaffected versions: 2.2.18, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.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 11.0.8, 11.0.9, 11.0.10, 11.0.11, 11.0.12, 11.0.13, 11.0.14, 11.0.15, 11.0.16, 11.0.17, 11.0.18, 11.0.19, 11.0.20, 11.0.21, 11.0.22, 11.0.23, 11.0.24, 11.0.25, 11.0.26, 11.0.27, 11.0.28, 11.0.29, 11.0.30, 11.0.31, 11.0.32, 11.0.33, 11.0.34, 11.0.35, 11.0.36, 11.0.37, 11.0.38, 11.0.39, 11.0.40, 11.0.41, 11.0.42, 11.0.43, 11.0.44, 11.1.0, 11.1.1, 11.1.2, 11.1.3, 11.1.4, 11.2.0, 11.2.1, 11.2.2, 11.2.3, 11.2.4, 11.2.5, 12.0.0, 12.0.1, 12.1.0, 13.0.0, 13.0.1, 13.0.2, 13.0.3, 13.0.4, 13.0.5, 13.0.6, 14.0.0, 14.0.1, 14.0.2, 14.0.3, 14.0.4, 14.0.5, 14.0.6, 14.0.7, 14.0.8, 14.0.9, 14.0.10, 14.0.11, 14.0.12, 14.0.13, 14.0.14, 14.0.15, 14.0.16, 14.0.17, 14.1.0, 14.1.1, 14.1.2, 14.1.3, 14.1.4, 14.1.5, 14.1.6, 14.1.7, 14.1.8, 14.1.9, 14.1.10, 14.1.11, 14.1.12, 14.1.13, 14.1.14, 14.1.15, 14.1.16, 14.1.17, 14.1.18, 14.1.19, 15.0.0, 15.0.1, 15.0.2, 15.0.3, 15.0.4, 15.1.0, 15.1.1, 15.1.2, 15.1.3, 15.1.4, 15.1.5, 15.1.6, 15.1.7, 15.1.8, 15.1.9, 15.1.10, 15.1.11, 15.1.12, 15.1.13, 15.1.14, 15.1.15, 15.1.16, 15.1.17, 15.1.18, 15.1.19, 15.1.20, 15.1.21, 16.0.0, 16.1.0, 16.1.1, 16.1.2, 16.1.4, 16.1.5, 16.1.6, 16.1.7, 16.1.8, 16.1.9, 16.1.10, 16.1.11, 16.1.12, 16.1.13, 16.1.14, 16.1.15, 16.1.16, 16.1.17, 16.1.18, 16.1.19, 16.1.20, 16.1.21, 16.1.22, 16.1.23, 16.1.24, 16.1.25, 16.1.26, 16.1.27, 16.1.28, 16.1.29, 16.1.30, 16.1.31, 16.1.32, 16.1.33, 16.1.34, 16.2.0