pp253 / nthu-select-courses

重新設計的選課系統,目標是提供清爽、直覺和方便的選課系統!
https://nthu-courses.github.io
Apache License 2.0
8 stars 1 forks source link

WS-2019-0058 (Medium) detected in webpack-bundle-analyzer-3.1.0.tgz #55

Open mend-bolt-for-github[bot] opened 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

WS-2019-0058 - Medium Severity Vulnerability

Vulnerable Library - webpack-bundle-analyzer-3.1.0.tgz

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

Library home page: https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.1.0.tgz

Path to dependency file: /nthu-select-courses/package.json

Path to vulnerable library: /tmp/git/nthu-select-courses/node_modules/webpack-bundle-analyzer/package.json

Dependency Hierarchy: - cli-service-3.5.0.tgz (Root Library) - :x: **webpack-bundle-analyzer-3.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 6e5c4ce6020486dea3933180badadc1b4a5af37a

Vulnerability 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.

Publish Date: 2019-04-23

URL: WS-2019-0058

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/263

Release Date: 2019-04-23

Fix Resolution: 3.3.2


Step up your Open Source Security Game with WhiteSource here