webpack-dev-server@3.0.0-alpha3 vulnerabilities

Serves a webpack app. Updates the browser on changes.

Direct Vulnerabilities

Known vulnerabilities in the webpack-dev-server package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Information Exposure

webpack-dev-server Uses webpack with a development server that provides live reloading. It should be used for development only.

Affected versions of this package are vulnerable to Information Exposure. The origin of requests is not checked by the WebSocket server, which is used for HMR. A malicious user could receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

How to fix Information Exposure?

Upgrade webpack-dev-server to version 3.1.11 or higher.

<3.1.11