Live threats

All CVEs / Replit

CVE-2022-21671Replit Crosis

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
Yes
Published
Jan 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

@replit/crosis is a JavaScript client that speaks Replit's container protocol. A vulnerability that involves exposure of sensitive information exists in versions prior to 7.3.1. When using this library as a way to programmatically communicate with Replit in a standalone fashion, if there are multiple failed attempts to contact Replit through a WebSocket, the library will attempt to communicate using a fallback poll-based proxy. The URL of the proxy has changed, so any communication done to the previous URL could potentially reach a server that is outside of Replit's control and the token used to connect to the Repl could be obtained by an attacker, leading to full compromise of that Repl (not of the account). This was patched in version 7.3.1 by updating the address of the fallback WebSocket polling proxy to the new one. As a workaround, a user may specify the new address for the polling host (`gp-v2.replit.com`) in the `ConnectArgs`. More information about this workaround is available in the GitHub Security Advisory.

Original NVD text.

What to do

  1. Apply the vendor's security update for Crosis.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @replit/crosis < 7.3.1 7.3.1 npm install @replit/crosis@7.3.1

Per OSV / GitHub Advisories (GHSA-7w54-gp8x-f33m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
replitcrosis< 7.3.1

Official sources

References

Links published by the sources. Open them with care.