webpack-dev-server@2.10.1 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:// connection from any origin.

How to fix Information Exposure?

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