npm vulnerability intelligence

ws NPM Package
Vulnerability Check

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

High severity MIT v8.21.0
Vulnerability Analysis OSV Live

ws

v8.21.0 · MIT · 223,662,875 dl/wk

Advisory Breakdown

Critical 0
High 3
Moderate 2
Low 1

Severity Rating

High severity

6 advisories

High severity

Weekly downloads

223,662,875

Total advisories

6

Latest version

8.21.0

License

MIT

Known advisories

OSV records for the npm ecosystem

6
GHSA-2mhh-w6q8-5hxw CVE-2016-10518 low

Remote Memory Disclosure in ws

Affected: >=0 <1.0.1 Fixed in: 1.0.1 Updated Nov 8, 2023
View source
GHSA-3h5v-q93c-6h6q CVE-2024-37890 high

ws affected by a DoS when handling a request with many HTTP headers

Affected: >=2.1.0 <5.2.4, >=6.0.0 <6.2.3, >=7.0.0 <7.5.10, >=8.0.0 <8.17.1 Fixed in: 5.2.4, 6.2.3, 7.5.10, 8.17.1 Updated May 13, 2026
View source
GHSA-58qx-3vcg-4xpx CVE-2026-45736 moderate

ws: Uninitialized memory disclosure

Affected: >=8.0.0 <8.20.1 Fixed in: 8.20.1 Updated May 20, 2026
View source
GHSA-5v72-xg48-5rpm high

Denial of Service in ws

Affected: >=0.2.6 <1.1.5, >=2.0.0 <3.3.1 Fixed in: 1.1.5, 3.3.1 Updated Aug 4, 2021
View source
GHSA-6663-c963-2gqg CVE-2016-10542 high

DoS due to excessively large websocket message in ws

Affected: >=0 <1.1.1 Fixed in: 1.1.1 Updated Nov 8, 2023
View source
GHSA-6fc8-4gx4-v693 CVE-2021-32640 moderate

ReDoS in Sec-Websocket-Protocol header

Affected: >=7.0.0 <7.4.6, >=6.0.0 <6.2.2, >=5.0.0 <5.2.3 Fixed in: 7.4.6, 6.2.2, 5.2.3 Updated Mar 13, 2026
View source

Checked May 22, 2026, 7:02 PM from npm and OSV.dev

Package metadata

From the npm registry

Package name
ws
Ecosystem
npm
Latest version
8.21.0
License
MIT
Weekly downloads
223,662,875

Remediation boundary

What RequestGuard does — and doesn't — cover

RequestGuard does not fix npm package vulnerabilities. Dependency remediation happens through package updates, patches, lockfile changes, and maintainer guidance. RequestGuard can help mitigate runtime abuse around exposed web and API flows while remediation is handled separately.

Signup flows
Login attempts
API traffic

Data from npm registry and OSV.dev · Checked 5/22/2026, 7:02:49 PM