Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-28481

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-28481
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:25 UTC · Revision 1

Source evidence

CVE-2020-28481

core-osv · Original source

Published 19 Jan 2021, 15:15 UTC

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

osv:CVE-2020-28481
Complete source record
{
  "id": "961f5831f6708acf84eb286828ea7d503fbcccd2a7defe195ff118e12ac0ca68",
  "url": "https://osv.dev/vulnerability/CVE-2020-28481",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-28481",
    "summary": "The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.",
    "evidence": "osv:CVE-2020-28481",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-28481",
      "aliases": [
        "CVE-2020-28481",
        "GHSA-fxwf-4rqh-v8g3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/socketio/socket.io",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "873fdc55eddd672960fdbc1325ccb7c4bf466f05"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:socket:socket.io:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.0",
            "2.2.0",
            "2.1.1",
            "2.1.0",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "1.7.2",
            "1.7.1",
            "1.7.0",
            "1.6.0",
            "1.5.1",
            "1.5.0",
            "1.4.5",
            "1.4.4",
            "1.4.3",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.1.0",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "1.0.0-pre5",
            "1.0.0-pre4",
            "1.0.0-pre3",
            "1.0.0-pre2",
            "1.0.0-pre",
            "0.9.10",
            "0.9.9",
            "0.9.8",
            "0.9.7",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1-1",
            "0.9.1",
            "0.9.0",
            "0.8.7",
            "0.8.6",
            "0.8.5",
            "0.8.4",
            "0.8.3",
            "0.8.2",
            "0.8.1",
            "0.8.0",
            "0.7.9",
            "0.7.8",
            "0.7.7",
            "0.7.6",
            "0.7.5",
            "0.7.4",
            "0.7.3",
            "0.7.2",
            "0.7.1",
            "0.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28481.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:19.446474158Z",
      "provider": "osv",
      "references": [
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1056358",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1056357",
        "https://snyk.io/vuln/SNYK-JS-SOCKETIO-1024859",
        "https://github.com/socketio/socket.io/issues/3671"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-28481",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385039,
  "published_at": "2021-01-19T15:15:12.06+00:00"
}