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

- Severity: Medium 6.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-02-12T00:00:00.000Z
- Modified: 2026-06-17T09:42:42.630Z
- Also known as: GHSA-p773-8mf4-rjm5
- Weaknesses: CWE-1385
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @farmfe/core (npm): before 1.7.6

## Every score

- mitre: 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`
- GitHub: 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`

## References

- <https://github.com/farm-fe/farm/issues/2168> (web)
- <https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679> (web)
- <https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56647> (advisory)
- <https://github.com/farm-fe/farm> (package)

## Sources

- CVE List: [CVE-2025-56647](https://www.cve.org/CVERecord?id=CVE-2025-56647), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-p773-8mf4-rjm5](https://github.com/advisories/GHSA-p773-8mf4-rjm5), CC-BY-4.0, modified 2026-02-12
- NVD: [CVE-2025-56647](https://nvd.nist.gov/vuln/detail/CVE-2025-56647), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-56647 · Whole record: https://cve.day/CVE-2025-56647.json · Rebuilt by cve.day 2026-11-25T22:59:11.163Z
