CVE-2025-56647

medium

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.

References

https://github.com/farm-fe/farm/issues/2168

https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679

https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af

Details

Source: Mitre, NVD

Published: 2026-02-12

Updated: 2026-02-12

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Severity: Medium