Advisory

GHSA-p773-8mf4-rjm5

Also known as: CVE-2025-56647

Summary

@farmfe/core is Missing Origin Validation in WebSocket

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-12 18:30 UTC
Modified
2026-02-12 22:26 UTC

Affected packages and fixes

@farmfe/core

npm · All systems

Affected

  • introduced 0, fixed 1.7.6 (semver)

Fixed versions

1.7.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences