CVE-2020-28481Socket.io
Medium 4.3
Follow: this CVE · Socket · Socket.io We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Socket.io.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| socket | socket.io | < 2.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- snyk.io Third Party Advisory
- snyk.io Third Party Advisory
- snyk.io Third Party Advisory