Skip to content

Cross-Site Scripting in react-svg

High severity GitHub Reviewed Published May 31, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm react-svg (npm)

Affected versions

< 2.2.18

Patched versions

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.

References

Reviewed May 31, 2019
Published to the GitHub Advisory Database May 31, 2019
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-8xqr-4cpm-wx7g

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.