CISA list

● npm package

ws

Ws has seven security advisories. The newest release any of them names as the fix is 8.21.0.

As of , ws has seven security advisories. The newest release any of them names as the fix is 8.21.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 8.0.0 before 8.21.08.21.03 advisories
From 7.0.0 before 7.5.117.5.113 advisories
From 6.0.0 before 6.2.46.2.43 advisories
Before 5.2.55.2.56 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-48779GHSA-96hv-2xvq-fx4pws: Memory exhaustion DoS from tiny fragments and data chunksHigh severityFrom 8.0.0 before 8.21.0; From 7.0.0 before 7.5.11; From 6.0.0 before 6.2.4; From 1.1.0 before 5.2.55.2.5, 6.2.4, 7.5.11, 8.21.0
CVE-2026-45736GHSA-58qx-3vcg-4xpxws: Uninitialized memory disclosureModerate severityFrom 8.0.0 before 8.20.18.20.1
CVE-2024-37890GHSA-3h5v-q93c-6h6qws affected by a DoS when handling a request with many HTTP headersHigh severityFrom 8.0.0 before 8.17.1; From 7.0.0 before 7.5.10; From 6.0.0 before 6.2.3; From 2.1.0 before 5.2.45.2.4, 6.2.3, 7.5.10, 8.17.1
CVE-2021-32640GHSA-6fc8-4gx4-v693ReDoS in Sec-Websocket-Protocol headerModerate severityFrom 7.0.0 before 7.4.6; From 6.0.0 before 6.2.2; From 5.0.0 before 5.2.35.2.3, 6.2.2, 7.4.6
GHSA-5v72-xg48-5rpmDenial of Service in wsHigh severityFrom 2.0.0 before 3.3.1; From 0.6.0 before 1.1.51.1.5, 3.3.1
CVE-2016-10542GHSA-6663-c963-2gqgDoS due to excessively large websocket message in wsHigh severityBefore 1.1.11.1.1
CVE-2016-10518GHSA-2mhh-w6q8-5hxwRemote Memory Disclosure in wsLow severityBefore 1.0.11.0.1

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0