Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-56647: n/a

0
Medium
VulnerabilityCVE-2025-56647cvecve-2025-56647
Published: Thu Feb 12 2026 (02/12/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

AILast updated: 02/12/2026, 16:33:44 UTC

Technical Analysis

CVE-2025-56647 identifies a security vulnerability in the npm package @farmfe/core, specifically versions before 1.7.6. The vulnerability stems from the development server's WebSocket implementation used for hot module reloading, which fails to validate the origin header when establishing WebSocket connections. Normally, origin validation is a critical security control that ensures only trusted web pages can connect to the WebSocket server. Without this validation, an attacker can craft a malicious webpage that, when visited by a developer running the Farm development server, establishes a WebSocket connection to the developer's local server. Through this connection, the attacker can surveil the development environment and potentially exfiltrate source code or other sensitive information transmitted over the WebSocket. The vulnerability impacts confidentiality but does not affect integrity or availability. Exploitation requires the developer to visit a malicious webpage (user interaction) but does not require any authentication or privileges on the development server. The CVSS v3.1 score is 6.5 (medium severity), reflecting the ease of remote exploitation combined with the high confidentiality impact. No known exploits have been reported in the wild as of the publication date. The vulnerability primarily affects development environments rather than production systems, but the risk of intellectual property theft and exposure of proprietary source code is significant. Mitigation involves updating @farmfe/core to version 1.7.6 or later, which includes proper origin validation, and implementing network or firewall rules to restrict WebSocket connections to trusted origins during development.

Potential Impact

For European organizations, the primary impact of CVE-2025-56647 is the potential theft of proprietary source code and intellectual property during the software development process. This can lead to significant competitive disadvantage, loss of trade secrets, and increased risk of further attacks if sensitive code or credentials are exposed. Since the vulnerability affects the development server used for hot module reloading, it does not directly impact production systems but compromises the confidentiality of the development environment. Organizations with active web development teams using @farmfe/core are at risk, especially if developers access untrusted websites while running the vulnerable development server. The exposure of source code could also lead to compliance issues under European data protection regulations if the code contains sensitive personal data processing logic or security controls. Additionally, the vulnerability could be leveraged by advanced persistent threat (APT) actors targeting European tech companies to gain early insight into software projects. The medium severity rating indicates a moderate but non-negligible risk that requires timely remediation to avoid intellectual property loss.

Mitigation Recommendations

1. Upgrade @farmfe/core to version 1.7.6 or later immediately to ensure origin validation is enforced in the WebSocket implementation. 2. Restrict WebSocket connections on development servers to trusted origins only, using firewall rules or WebSocket server configuration to whitelist developer machines and trusted domains. 3. Educate developers to avoid visiting untrusted or suspicious websites while running development servers that expose WebSocket endpoints. 4. Consider isolating development environments from general internet access or using VPNs to limit exposure to malicious webpages. 5. Implement network segmentation to separate development machines from sensitive production networks. 6. Monitor WebSocket traffic during development for unusual connection attempts or data exfiltration patterns. 7. Review and audit development tooling configurations regularly to ensure security best practices are followed. 8. Employ endpoint protection solutions that can detect and block suspicious network connections initiated by development tools.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2025-08-17T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 698dfd94c9e1ff5ad8ec17fc

Added to database: 2/12/2026, 4:19:32 PM

Last enriched: 2/12/2026, 4:33:44 PM

Last updated: 2/12/2026, 6:21:29 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats