原始 OSV JSON{
"id": "GHSA-pgr8-jg6h-8gw6",
"aliases": [],
"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.",
"summary": "Cross-Site Scripting in webpack-bundle-analyzer",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.2"
}
]
}
],
"package": {
"name": "webpack-bundle-analyzer",
"ecosystem": "npm"
}
}
],
"modified": "2021-08-04T15:26:36Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
}
],
"published": "2019-05-23T09:26:20Z",
"references": [
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2019-05-23T07:34:50Z"
}
}