GitHub Advisory Database
GHSA-p773-8mf4-rjm5
@farmfe/core is Missing Origin Validation in WebSocket
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @farmfe/core | All versions before 1.7.6 (fixed in 1.7.6) |