CVE-2025-56647 Details
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.
A vulnerability exists in npm package @farmfe/core, in versions prior to 1.7.6, where the development server fails to validate the origin of WebSocket connections. This oversight allows attackers to monitor developers who visit their site and potentially access leaked source code through the WebSocket server.
Users can update to Farm version 1.7.6 or later, or avoid visiting untrusted websites while using the Farm development server. If neither option is feasible, consider isolating the development environment with a proxy.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 12, 2026CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af | [email protected] | ExploitTechnical Description |
| https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679 | [email protected] | Source CodeVendor |
| https://github.com/farm-fe/farm/issues/2168 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1385 | Missing Origin Validation in WebSockets | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| @farmfe/core | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2026 | New CVE Received | [email protected] |
Volerion