GHSA-PGR8-JG6H-8GW6

Vulnerability from github – Published: 2019-05-23 09:26 – Updated: 2021-08-04 15:26
VLAI?
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.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "webpack-bundle-analyzer"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2019-05-23T07:34:50Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "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.\n\n\n## Recommendation\n\nUpgrade to version 3.3.2 or later.",
  "id": "GHSA-pgr8-jg6h-8gw6",
  "modified": "2021-08-04T15:26:36Z",
  "published": "2019-05-23T09:26:20Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/263"
    },
    {
      "type": "WEB",
      "url": "https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/264"
    },
    {
      "type": "WEB",
      "url": "https://github.com/webpack-contrib/webpack-bundle-analyzer/commit/20f2b4c553ee343f491faf63e39427fba9908c7c"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-WEBPACKBUNDLEANALYZER-174190"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/826"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-Site Scripting in webpack-bundle-analyzer"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…