Install
ws
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
8.23.1Latest, 27 Nov 2026
1.8BDownloads, last month
0Advisories on the latest
8Advisories, all versions
MITLicence
23KStars
5.5/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | ws: Memory exhaustion DoS via unbounded automatic pong responses CVE-2026-140009 | Fixed in 6.2.7, 7.5.14, 8.23.0 | 1 Dec 2026 |
| High | ws: Memory exhaustion DoS from tiny fragments and data chunks CVE-2026-48779 | Fixed in 6.2.4, 7.5.11, 8.21.0 | 15 Jun 2026 |
| Moderate | ws: Uninitialized memory disclosure CVE-2026-45736 | Fixed in 8.20.1 | 18 May 2026 |
| High | ws affected by a DoS when handling a request with many HTTP headers CVE-2024-37890 | Fixed in 6.2.3, 7.5.10, 8.17.1 | 17 Jun 2024 |
| Moderate | ReDoS in Sec-Websocket-Protocol header CVE-2021-32640 | Fixed in 7.4.6, 6.2.2, 5.2.3 | 28 May 2021 |
| High | Denial of Service in ws GHSA-5v72-xg48-5rpm | Fixed in 1.1.5, 3.3.1 | 4 Jun 2019 |
| Low | Remote Memory Disclosure in ws CVE-2016-10518 | Fixed in 1.0.1 | 18 Feb 2019 |
| High | DoS due to excessively large websocket message in ws CVE-2016-10542 | Fixed in 1.1.1 | 18 Feb 2019 |
In the news
- resilient_ws: WebSocket and SSE clients for Dart that survive bad networks dev.to, 15 Nov 2026
- Progress WS_FTP Server Fixes 7 Security Flaws Allowing Credential Theft, Path Traversal, and Remote Attacks cybersecuritynews.com, 10 Nov 2026
- U.S. Ambassador to India Sergio Gor could become the new secretary of state, replacing Marco Rubio, reports The Washington Sun (WS), citing ten sources familiar with the internal discussions news-pravda.com, 4 Nov 2026
- WS/FCS candidate Ronda Mays: New superintendent must be willing to relocate journalnow.com, 9 Oct 2026
- FullTrailer as a real GUI + monad app, live over HTTP and WS through netget dev.to, 19 Aug 2026
On Hacker News
- No One Wanted A&W's Third-Pound Burger (2016) 126 points, 261 comments, 14 Sep 2021
- Ampere WS-1 Japanese APL Clamtop 71 points, 6 comments, 1 Dec 2024
- Show HN: goodbre.ws, a fully open source recommendation engine for beer 57 points, 50 comments, 26 Sep 2012
- The Serval WS from System76: A Linux Workstation Running PopOS 44 points, 60 comments, 26 Jan 2021
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.