webpack-bundle-analyzer@1.1.2-alpha vulnerabilities

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

Direct Vulnerabilities

Known vulnerabilities in the webpack-bundle-analyzer package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

webpack-bundle-analyzer is a package that can be used to create visual size of webpack output files with an interactive zoomable treemap.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to the usage of the JSON.stringify method which accepts server-rendered HTML and returns it as part of the chartData(),enableWebSocket() or defaultSizes() function.

How to fix Cross-site Scripting (XSS)?

Upgrade webpack-bundle-analyzer to version 3.3.2 or higher.

<3.3.2