CVE-2020-28481 Insecure Defaults

Medium 5.3 Published Updated

Socket.io library allows all domains by default, enabling cross-origin requests that bypass security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28481?

CVE-2020-28481 is a medium-severity vulnerability in socket.io, published on 19 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-346

Which versions are affected by CVE-2020-28481?

2 open source packages ship an affected version, including socket.io. It affects 1 product.

PackageAffectedFixed in
socket.io npmAll versions2.4.0
socket.io npmAll versions2.4.0

Products include Socket Socket.io.

How do I fix CVE-2020-28481?

Upgrade socket.io to 2.4.0 or later.

Is CVE-2020-28481 being exploited?

There is no known exploitation of CVE-2020-28481 in the wild and no public exploit code.

Sources

Also known as AZL-44430, CLSA-2026-1771978231, GHSA-fxwf-4rqh-v8g3.

Is CVE-2020-28481 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free