ws
npm package
Overview
Package versions
| Versions | Range | Direct vulnerabilities |
|---|---|---|
| 8.21.0 | and later versions | 0C0H0M0L |
| 8.20.1 | up to 8.21.0 | 0C1H0M0L |
| 8.17.1 | up to 8.20.1 | 0C2H0M0L |
| 8.0.0 | up to 8.17.1 | 0C3H0M0L |
| 7.5.11 | up to 8.0.0 | 0C0H0M0L |
| 7.5.10 | up to 7.5.11 | 0C1H0M0L |
| 7.4.6 | up to 7.5.10 | 0C2H0M0L |
| 7.0.0 | up to 7.4.6 | 0C2H1M0L |
| 6.2.4 | up to 7.0.0 | 0C0H0M0L |
| 6.2.3 | up to 6.2.4 | 0C1H0M0L |
| 6.2.2 | up to 6.2.3 | 0C2H0M0L |
| 6.0.0 | up to 6.2.2 | 0C2H1M0L |
| 5.2.5 | up to 6.0.0 | 0C0H0M0L |
| 5.2.4 | up to 5.2.5 | 0C1H0M0L |
| 5.2.3 | up to 5.2.4 | 0C2H0M0L |
| 5.0.0 | up to 5.2.3 | 0C2H1M0L |
| 3.3.1 | up to 5.0.0 | 0C2H0M0L |
| 2.1.0 | up to 3.3.1 | 0C3H0M0L |
| 2.0.0 | up to 2.1.0 | 0C2H0M0L |
| 1.1.5 | up to 2.0.0 | 0C1H0M0L |
| 1.1.1 | up to 1.1.5 | 0C2H0M0L |
| after 1.1.0 | up to 1.1.1 | 0C3H0M0L |
| 1.1.0 | 0C4H0M0L | |
| 1.0.1 | up to 1.1.0 | 0C3H0M0L |
| after 1.0.0 | up to 1.0.1 | 0C4H0M0L |
| 0.6.0 | up to 1.0.0 (included) | 0C4H1M0L |
| before 0.6.0 | all earlier versions | 0C3H1M0L |
No known vulnerabilities in 8.21.0 and later versions
Nothing in our data affects this version.
27 ranges in total. Each row is a range of versions with the same vulnerabilities, newest first. The data names only the versions where something changes (first affected, fixed), so the versions in between are a range.
Vulnerabilities · 9
| CVE | Severity | Published | Vulnerable | Fixed in |
|---|---|---|---|---|
| CVE-2026-48779ws: ws: Denial of Service via memory exhaustion from small WebSocket fragments | HIGH | 17 Jun 2026 | >=1.1.0, <5.2.5>=6.0.0, <6.2.4>=7.0.0, <7.5.11>=8.0.0, <8.21.0 | 5.2.56.2.47.5.118.21.0 |
| CVE-2026-45736ws: ws: Uninitialized memory disclosure via `websocket.close()` with `TypedArray` | HIGH | 15 May 2026 | >=8.0.0, <8.20.1 | 8.20.1 |
| CVE-2024-37890nodejs-ws: denial of service when handling a request with many HTTP headers | HIGH | 17 Jun 2024 | >=2.1.0, <5.2.4>=6.0.0, <6.2.3>=7.0.0, <7.5.10>=8.0.0, <8.17.1 | 5.2.46.2.37.5.108.17.1 |
| CVE-2021-32640nodejs-ws: Specially crafted value of the `Sec-Websocket-Protocol` header can be used to significantly slow down a ws server | MEDIUM | 25 May 2021 | >=7.0.0, <7.4.6>=6.0.0, <6.2.2>=5.0.0, <5.2.3 | 7.4.66.2.25.2.3 |
| GHSA-5V72-XG48-5RPMDenial of Service in ws | HIGH | 4 Jun 2019 | >=0.6.0, <1.1.5>=2.0.0, <3.3.1 | 1.1.53.3.1 |
| CVE-2016-10542ws is a "simple to use, blazing fast and thoroughly tested websocket c ... | HIGH | 31 May 2018 | <1.1.1 | 1.1.1 |
| CVE-2016-10518A vulnerability was found in the ping functionality of the ws module b ... | HIGH | 31 May 2018 | <1.0.1 | 1.0.1 |
| NSWG-ECO-67Remote Memory Disclosure | MEDIUM | No date | <= 1.0.0 | 1.0.1 |
| NSWG-ECO-120DoS due to excessively large websocket message | HIGH | No date | <=1.1.0 | 1.1.1 |
Seal Security (npm)
Seal Security ships a patched build of this package. Its fixed versions:
- CVE-2026-45736: 8.11.0-sp2, 8.13.0-sp2, 8.14.2-sp2, 8.16.0-sp999, 8.6.0-sp2
- CVE-2026-48779: 6.2.2-sp999, 7.3.1-sp999, 7.4.4-sp999, 7.4.6-sp999, 7.5.7-sp2, 7.5.8-sp999, 7.5.9-sp999, 8.11.0-sp3, 8.13.0-sp3, 8.14.2-sp2, 8.16.0-sp999, 8.17.1-sp999, 8.18.1-sp999, 8.18.3-sp2, 8.19.0-sp2, 8.20.0-sp2, 8.6.0-sp3
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.