medium6.5
CVE-2025-56647
@farmfe/core is Missing Origin Validation in WebSocket
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @farmfe/core | < 1.7.6 | 1.7.6 |
Affected products
| Product | Affected versions |
|---|---|
| Npm @Farmfe/Core | before 1.7.6 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af
- https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679
- https://github.com/farm-fe/farm/issues/2168
- https://github.com/advisories/GHSA-p773-8mf4-rjm5
- https://nvd.nist.gov/vuln/detail/CVE-2025-56647