VDB
Sign up
MEDIUM6.5

GHSA-p773-8mf4-rjm5

@farmfe/core is Missing Origin Validation in WebSocket

Quick fix

GHSA-p773-8mf4-rjm5 — @farmfe/core: upgrade to the fixed version with the command below.

npm install @farmfe/core@1.7.6

Details

npm @farmfe/core before 1.7.6 is Missing Origin Validation in WebSocket. The development (hot module reloading) server does not validate origin when connecting to a WebSocket client. This allows attackers to surveil developers running Farm who visit their webpage and steal source code that is leaked by the WebSocket server.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@farmfe/core
Introduced in: 0Fixed in: 1.7.6
Fixnpm install @farmfe/core@1.7.6

References