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 scanRelated Issues
- elysia-cors Origin Validation Error - CVE-2025-50864
- Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass - CVE-2025-59845
- Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass - @apollo/sandbox - CVE-2025-59845
- Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites - CVE-2026-114125


