Live threats

All CVEs / Socket

CVE-2020-28481Socket.io

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Jan 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.

Original NVD text.

What to do

  1. Apply the vendor's security update for Socket.io.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm socket.io < 2.4.0 2.4.0 npm install socket.io@2.4.0

Per OSV / GitHub Advisories (GHSA-fxwf-4rqh-v8g3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
socketsocket.io< 2.4.0

Official sources

References

Links published by the sources. Open them with care.