Vulnerability library
Security checkFebruary 12, 2026

@farmfe/core is Missing Origin Validation in WebSocket

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

Medium severitynpm@farmfe/core

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @farmfe/core package to the latest compatible version. Followings are version details:

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

References

Could your website be exposed too?

SmartScanner can check your website for @farmfe/core is Missing Origin Validation in WebSocket and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 12, 2026