CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2025-58754

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Axios is vulnerable to DoS attack through lack of data size check

Axios is a promise based HTTP client for the browser and Node.js. When Axios starting in version 0.28.0 and prior to versions 0.30.2 and 1.12.0 runs on Node.js and is given a URL with the `data:` scheme, it does not perform HTTP. Instead, its Node http adapter decodes the entire payload into memory (`Buffer`/`Blob`) and returns a synthetic 200 response. This path ignores `maxContentLength` / `maxBodyLength` (which only protect HTTP responses), so an attacker can supply a very large `data:` URI and cause the process to allocate unbounded memory and crash (DoS), even if the caller requested `responseType: 'stream'`. Versions 0.30.2 and 1.12.0 contain a patch for the issue.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.196% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:41.394Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:57:41.394ZCVE Program
epssverified2026-11-19T16:04:41.864ZFIRST EPSS
patchesverified2026-11-19T12:52:27.774ZOSV
affectedverified2026-11-19T12:57:41.394ZCVE Program
lifecycleverified2026-11-19T12:57:41.394ZCVE Program

Affected versions and configuration

axios axios; default status: unknown: >= 1.0.0, < 1.12.0 [affected; scheme: unspecified]; >= 0.28.0, < 0.30.2 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "axios",
      "product": "axios",
      "versions": [
        {
          "status": "affected",
          "version": ">= 1.0.0, < 1.12.0"
        },
        {
          "status": "affected",
          "version": ">= 0.28.0, < 0.30.2"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-58754",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-09-12T13:08:38.895896Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-09-12T13:08:42.426Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-4hjh-wcwx-xvwj",
  "aliases": [
    "CVE-2025-58754"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "1.0.0"
            },
            {
              "fixed": "1.12.0"
            }
          ]
        }
      ],
      "package": {
        "name": "axios",
        "purl": "pkg:npm/axios",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-4hjh-wcwx-xvwj/GHSA-4hjh-wcwx-xvwj.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.28.0"
            },
            {
              "fixed": "0.30.2"
            }
          ]
        }
      ],
      "package": {
        "name": "axios",
        "purl": "pkg:npm/axios",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-4hjh-wcwx-xvwj/GHSA-4hjh-wcwx-xvwj.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58754",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/axios/axios/pull/7011",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios/pull/7034",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/axios/axios/releases/tag/v0.30.2",
      "type": "WEB"
    },
    {
      "url": "https://github.com/axios/axios/releases/tag/v1.12.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2025-09-12T02:15:46Z",
    "github_reviewed_at": "2025-09-11T21:07:55Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packageaxiosNot a distribution channel1.12.0Official record
ecosystem-boundarynpm / packageaxiosNot a distribution channel0.30.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history