GHSA-pgr8-jg6h-8gw6

Suggest an improvement
Source
https://github.com/advisories/GHSA-pgr8-jg6h-8gw6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-pgr8-jg6h-8gw6/GHSA-pgr8-jg6h-8gw6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pgr8-jg6h-8gw6
Published
2019-05-23T09:26:20Z
Modified
2021-08-04T15:26:36Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Cross-Site Scripting in webpack-bundle-analyzer
Details

Versions of webpack-bundle-analyzer prior to 3.3.2 are vulnerable to Cross-Site Scripting. The package uses JSON.stringify() without properly escaping input which may lead to Cross-Site Scripting.

Recommendation

Upgrade to version 3.3.2 or later.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-05-23T07:34:50Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": null
}
References

Affected packages

npm / webpack-bundle-analyzer

Package

Name
webpack-bundle-analyzer
View open source insights on deps.dev
Purl
pkg:npm/webpack-bundle-analyzer

Affected ranges

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