CVE-2025-58754
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_MCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:41.394Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:27.774Z | OSV |
| affected | verified | 2026-11-19T12:57:41.394Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:41.394Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | axios | Not a distribution channel | 1.12.0 | Official record |
| ecosystem-boundary | npm / package | axios | Not a distribution channel | 0.30.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:27.774ZArchived source JSON
Source publication: 2025-09-11T21:07:55.000Z
Source modification: 2026-09-10T03:50:27.860ZDocument fingerprint
2a01d04d529e6be530d525ed9839eaa51ce146cfcc611585ec91a9ea2b37bbf2 - CVE ProgramConsulted: 2026-11-19T12:57:41.394ZArchived source JSON
Source publication: 2025-09-12T01:16:40.513Z
Source modification: 2026-01-16T14:50:09.107ZDocument fingerprint
622f9f8e6cccfc83c74126e7879e32fc435adf0f971c7a359ac382203211ab64 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence