ADVISORIES

GitHub Advisory Database

GHSA-77q4-m83q-w76v

Missing Origin Validation in browserify-hmr

Details

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

Upgrade to version 0.4.0 or later.

Affected packages

EcosystemPackageAffected versions
npmbrowserify-hmr
All versions before 0.4.0 (fixed in 0.4.0)

References