Is socket.io 2.5 vulnerable?

npm · 2 releases from 2.5.0 to 2.5.1 · latest socket.io is 4.8.4 · checked 2 Nov 2026

No known advisories in the last release

socket.io 2.5.1, the last 2.5 release, has no known advisories. 1 advisory affects earlier 2.5.x releases, so update to 2.5.1.

Update within 2.5:npm install socket.io@2.5.1

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 2.5.x, affecting earlier releases

  • MediumCVE-2024-38355GHSA-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

Which of your client projects are still on socket.io 2.5?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact socket.io version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other socket.io versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.