Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gist.github.com/R4356th/d4372c6f83275d583c180c0e7d7332af
- https://github.com/farm-fe/farm/commit/83342ef06e0aea37270950fd8c930422c4df0679
- https://github.com/farm-fe/farm/issues/2168
FAQ
What is CVE-2025-56647?
CVE-2025-56647 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 attac...
How severe is CVE-2025-56647?
CVE-2025-56647 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-56647?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.