hydrogen-dev / projecthydro.org

https://projecthydro.org/
6 stars 6 forks source link

Information Exposure #9

Open larrycameron80 opened 4 years ago

larrycameron80 commented 4 years ago

Information Exposure Vulnerable module: webpack-dev-server Introduced through: react-scripts@2.1.1 Detailed paths Introduced through: project-hydro-website@hydrogen-dev/projecthydro.org#ad6d285bec4814b92bb7397709fceb4e34f0efcd › react-scripts@2.1.1 › webpack-dev-server@3.1.9 Remediation: Upgrade to react-scripts@2.1.3. Overview 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.