Skip to content
OpenAdvisories
Medium · 6.3 GHSA-pgr8-jg6h-8gw6

Cross-Site Scripting in webpack-bundle-analyzer

Published May 23, 2019 · Updated Aug 4, 2021 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm webpack-bundle-analyzer < 3.3.2 3.3.2 GHSA-pgr8-jg6h-8gw6

References