{"id":"GHSA-pgr8-jg6h-8gw6","aliases":["GHSA-pgr8-jg6h-8gw6"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in webpack-bundle-analyzer","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 3.3.2 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 3.3.2 or later.","format":"markdown","source":"ghsa"}],"published":"2019-05-23T09:26:20.000Z","modified":"2021-08-04T15:26:36.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.2"}],"ecosystem":"npm","package":"webpack-bundle-analyzer","purl":"pkg:npm/webpack-bundle-analyzer","source":"ghsa"}],"references":[{"url":"https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/263","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/264","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack-contrib/webpack-bundle-analyzer/commit/20f2b4c553ee343f491faf63e39427fba9908c7c","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-WEBPACKBUNDLEANALYZER-174190","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/826","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pgr8-jg6h-8gw6","url":"https://github.com/advisories/GHSA-pgr8-jg6h-8gw6","licence":"CC-BY-4.0","modified":"2021-08-04T15:26:36.000Z"}],"updatedAt":"2026-11-25T22:56:46.133Z"}