CVE-2025-56647
JSON

6.5medium

@farmfe/core is Missing Origin Validation in WebSocket

Severity
6.5medium CVSS:3.1 by mitre
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p773-8mf4-rjm5

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
@farmfe/core (npm)before 1.7.6GitHub Advisory Database

All scores

mitre6.5medium CVSS:3.1CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:R
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-1385

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

npm @farmfe/core anterior a 1.7.6 carece de validación de origen en WebSocket. El servidor de desarrollo (recarga de módulos en caliente) no valida el origen al conectarse a un cliente WebSocket. Esto permite a los atacantes vigilar a los desarrolladores que ejecutan Farm que visitan su página web y robar código fuente que es filtrado por el servidor WebSocket.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-56647 changed 2026-02-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-p773-8mf4-rjm5 changed 2026-02-12CC-BY-4.0
NVDCVE-2025-56647 changed 2026-06-17Public domain