Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-28502

This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-28502
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:23 UTC · Revision 1

Source evidence

CVE-2020-28502

core-osv · Original source

Published 5 Mar 2021, 18:15 UTC

This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.

osv:CVE-2020-28502
Complete source record
{
  "id": "d4475cad905668479e8ca484ef072a2a16cde4dabbf09b5cfacf19d9d77ae165",
  "url": "https://osv.dev/vulnerability/CVE-2020-28502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-28502",
    "summary": "This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.",
    "evidence": "osv:CVE-2020-28502",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-28502",
      "aliases": [
        "CVE-2020-28502",
        "GHSA-h4j5-c7cj-74xg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/driverdan/node-xmlhttprequest",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "17b03f96faa6ab3d3b3517707173d5d6a3bb253c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xmlhttprequest_project:xmlhttprequest:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.6.0",
            "1.5.0",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28502.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:18.311411350Z",
      "provider": "osv",
      "references": [
        "https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938",
        "https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935",
        "https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-28502",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429745,
  "published_at": "2021-03-05T18:15:12.83+00:00"
}