ADVISORIES

GitHub Advisory Database

GHSA-p773-8mf4-rjm5

@farmfe/core is Missing Origin Validation in WebSocket

Moderate CVE-2025-56647

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.

Affected packages

EcosystemPackageAffected versions
npm@farmfe/core
All versions before 1.7.6 (fixed in 1.7.6)

References