Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. webpack-bundle-analyzer
  4. ›
  5. GMS-2019-67

GMS-2019-67: Cross-Site Scripting in webpack-bundle-analyzer

May 23, 2019 (updated August 4, 2021)

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

References

  • github.com/advisories/GHSA-pgr8-jg6h-8gw6
  • github.com/webpack-contrib/webpack-bundle-analyzer/issues/263
  • github.com/webpack-contrib/webpack-bundle-analyzer/pull/264
  • snyk.io/vuln/SNYK-JS-WEBPACKBUNDLEANALYZER-174190
  • www.npmjs.com/advisories/826

Code Behaviors & Features

Detect and mitigate GMS-2019-67 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.2

Fixed versions

  • 3.3.2

Solution

Upgrade to version 3.3.2 or above.

Source file

npm/webpack-bundle-analyzer/GMS-2019-67.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.