socket.io vulnerabilities

node.js realtime framework server

Registry
npm
Latest
4.8.4
License
MIT

3 known advisories

The latest version, 4.8.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install socket.io@4.8.4

Security advisories for socket.io

  • MediumGHSA-25hc-qcg6-38wj19 Jun 2024

    socket.io has an unhandled 'error' event

    Affected
    <2.5.1 · >=3.0.0 <4.6.2
    Fixed in
    2.5.1, 4.6.2
  • MediumGHSA-fxwf-4rqh-v8g320 Jan 2021

    CORS misconfiguration in socket.io

    Affected
    <2.4.0
    Fixed in
    2.4.0
  • HighGHSA-qv2v-m59f-v5fw7 Nov 2018

    Insecure randomness in socket.io

    Affected
    <0.9.7
    Fixed in
    0.9.7

Which of your client projects still run an old socket.io?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.