Vulnerability library
Security checkJanuary 09, 2023

Missing Origin Validation in browserify-hmr

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmbrowserify-hmr

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of browserify-hmr prior to 0.4.0 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 browserify-hmr package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.4.0
  • Patched version(s): 0.4.0

References

Could your website be exposed too?

SmartScanner can check your website for Missing Origin Validation in browserify-hmr and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023