Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

ws

npm package

Overview

Newest range
8.21.0
Last CVE
17 Jun 2026
npm 27 version ranges 23 affected
0 Critical
7 High
2 Medium
0 Low

Package versions

Version ranges and their known vulnerabilities
VersionsRangeDirect vulnerabilities
8.21.0 and later versions 0000
8.20.1 up to 8.21.0 0100
8.17.1 up to 8.20.1 0200
8.0.0 up to 8.17.1 0300
7.5.11 up to 8.0.0 0000
7.5.10 up to 7.5.11 0100
7.4.6 up to 7.5.10 0200
7.0.0 up to 7.4.6 0210
6.2.4 up to 7.0.0 0000
6.2.3 up to 6.2.4 0100
6.2.2 up to 6.2.3 0200
6.0.0 up to 6.2.2 0210
5.2.5 up to 6.0.0 0000
5.2.4 up to 5.2.5 0100
5.2.3 up to 5.2.4 0200
5.0.0 up to 5.2.3 0210
3.3.1 up to 5.0.0 0200
2.1.0 up to 3.3.1 0300
2.0.0 up to 2.1.0 0200
1.1.5 up to 2.0.0 0100
1.1.1 up to 1.1.5 0200
after 1.1.0 up to 1.1.1 0300
1.1.0 0400
1.0.1 up to 1.1.0 0300
after 1.0.0 up to 1.0.1 0400
0.6.0 up to 1.0.0 (included) 0410
before 0.6.0 all earlier versions 0310

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

Known vulnerabilities of this package
CVESeverityPublishedVulnerableFixed 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.