GHSA-8xqr-4cpm-wx7g

Suggest an improvement
Source
https://github.com/advisories/GHSA-8xqr-4cpm-wx7g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-8xqr-4cpm-wx7g/GHSA-8xqr-4cpm-wx7g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8xqr-4cpm-wx7g
Published
2019-05-31T23:47:27Z
Modified
2020-08-31T18:31:14Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2019-05-31T23:44:58Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / react-svg

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.2.18

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-8xqr-4cpm-wx7g/GHSA-8xqr-4cpm-wx7g.json"