CVE-2025-56647
@farmfe/core is Missing Origin Validation in WebSocket
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.5
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.
- Record
CVE-2025-56647- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R - Weakness
- CWE-1385
- Updated
- 2026-11-02
EUVDEUVD-2025-207250
6.5
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.
- Record
EUVD-2025-207250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p773-8mf4-rjm5
6.5
@farmfe/core is Missing Origin Validation in WebSocket
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.
- Record
GHSA-p773-8mf4-rjm5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-1385
- Updated
- 2026-11-02
NVD
6.5
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.
- Record
CVE-2025-56647- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-1385
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2025-56647- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R - Updated
- 2026-11-02
OSVGHSA-p773-8mf4-rjm5
6.5
@farmfe/core is Missing Origin Validation in WebSocket
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.
- Record
GHSA-p773-8mf4-rjm5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-1385
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@farmfe/corenpm |
before 1.7.6 | 1.7.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-56647 is a medium vulnerability (CVSS 6.5) in @farmfe/core, published February 12, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in @farmfe/core 1.7.6.
References
github.com/farm-fe/farm/issues/2168
github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679
gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af
nvd.nist.gov/vuln/detail/CVE-2025-56647
github.com/advisories/GHSA-p773-8mf4-rjm5
github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56647.json
github.com/farm-fe/farm