GitHub Advisoryadvisory · npm
GHSA-8xqr-4cpm-wx7g Cross-Site Scripting in react-svg
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- react-svg
- Severity
- High
- Weaknesses
- CWE-79
- Reviewed
- 2019-05-31
Affected packages
• npm react-svg: < 2.2.18 → fixed in 2.2.18
Description
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.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness