Vulnerabilities/

Missing Origin Validation in webpack-dev-server

Severity:
High

Description

Versions of webpack-dev-server before 3.1.10 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer’s source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.

Recommendation

Update the webpack-dev-server package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
webpack-dev-server
Anything's wrong? Let us know Last updated on January 09, 2023

This issue is available in SmartScanner Professional

See Pricing