Cross-Site Scripting in react-svg
Priority LOW 38CWE-79Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
Fix Fixed react-svg (npm): 2.2.18
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | react-svg (npm) | before 2.2.18 | 2.2.18 | Patch available | GHSA-8xqr-4cpm-wx7g |
- react-svg (npm) Vendor— Affected before 2.2.18 Fixed in 2.2.18 Patch available GHSA-8xqr-4cpm-wx7g
Remediation
- Fix · GHSA-8xqr-4cpm-wx7g react-svg (npm) Fixed in 2.2.18 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-8xqr-4cpm-wx7g
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences