CVE-2025-56647: @farmfe/core @farmfe/core Is Missing Origin Validation Vulnerability
MODERATECVE-2025-56647 is a MODERATE (CVSS 6.5) @farmfe/core is missing origin validation vulnerability (CWE-1385: Missing Origin Validation in WebSockets) affecting @farmfe/core libraries in the npm ecosystem. The issue involves @farmfe/core is missing origin validation in websocket. Remediation is available by upgrading affected packages to version 1.7.6.
CVE-2025-56647 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-56647
To remediate this vulnerability, upgrade all affected @farmfe/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @farmfe/core@1.7.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @farmfe/core
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-56647, inspect your project dependencies using npm:
npm ls @farmfe/core
Analyze the terminal output to locate any version of @farmfe/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.6), your application is affected.
Note: The npm ls @farmfe/core command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1385: Missing Origin Validation in WebSockets, where the product uses a websocket, but it does not properly verify that the source of data or communication is valid. In @farmfe/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-56647 Affected @farmfe/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@farmfe/core
|
npm |
< 1.7.6
|
1.7.6
|
References
Frequently Asked Questions
What is CVE-2025-56647?
Which @farmfe/core versions are affected?
What version fixes CVE-2025-56647?
Is @farmfe/core affected?
What is the CVSS score of CVE-2025-56647?
What CWE is associated with CVE-2025-56647?
How can I check npm dependencies for CVE-2025-56647?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p773-8mf4-rjm5",
"modified" : "2026-02-12T22:14:12Z",
"published" : "2026-02-12T18:30:23Z",
"aliases" : [ "CVE-2025-56647" ],
"summary" : "@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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@farmfe/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-56647"
}, {
"type" : "WEB",
"url" : "https://github.com/farm-fe/farm/issues/2168"
}, {
"type" : "WEB",
"url" : "https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/farm-fe/farm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1385" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-12T22:14:11Z",
"nvd_published_at" : "2026-02-12T16:16:03Z"
}
}