Home / axios / axios / CVE-2025-58754
CVE-2025-58754: is it exploited, and which versions of axios are affected and fixed?
CVE-2025-58754 is a denial of service (resources allocated without limits) vulnerability in axios. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: axios from 1.0.0 before 1.12.0 and axios from 0.28.0 before 0.30.2 (GitHub advisory GHSA-4hjh-wcwx-xvwj). Fixed in 1.12.0 and 0.30.2 (GitHub advisory GHSA-4hjh-wcwx-xvwj). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is 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.
From the CVE record by GitHub_M, last updated January 16, 2026, 14:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| axios | axios | >= 1.0.0, < 1.12.0 >= 0.28.0, < 0.30.2 |
As the CVE record by GitHub_M states it, last updated January 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | axios | >= 1.0.0, < 1.12.0 | 1.12.0 | GHSA-4hjh-wcwx-xvwj |
| npm | axios | >= 0.28.0, < 0.30.2 | 0.30.2 | GHSA-4hjh-wcwx-xvwj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 16, 2026. Summary: Axios is vulnerable to DoS attack through lack of data size check.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| axios | axios | before 0.30.2 | application |
| axios | axios | from 1.0.0 before 1.12.0 | application |
NVD analysis (status Modified), last modified October 19, 2026, 17:10 UTC.
How severe is CVE-2025-58754?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58754 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 12, 2025)
- EPSS
- 1.20% probability of exploitation activity in the next 30 days, percentile 69.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj x_refsource_CONFIRM
- https://github.com/axios/axios/pull/7011 x_refsource_MISC
- https://github.com/axios/axios/pull/7034 x_refsource_MISC
- https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593 x_refsource_MISC
- https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67 x_refsource_MISC
- https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06 x_refsource_MISC
- https://github.com/axios/axios/releases/tag/v0.30.2 x_refsource_MISC
- https://github.com/axios/axios/releases/tag/v1.12.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 4, 2025
- Published
- September 12, 2025, 01:16 UTC
- CVE record updated
- January 16, 2026, 14:50 UTC by GitHub_M
- NVD
- Modified, last modified October 19, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect axios?
- Nov 30, 2026CVE-2026-139876 axios: prototype pollution
- Oct 13, 2026CVE-2026-101899 axios: protection mechanism failure
- Sep 28, 2026CVE-2026-101909 axios: prototype pollution
- Sep 28, 2026CVE-2026-101908 axios: prototype pollution
- Sep 28, 2026CVE-2026-101907 axios: unintended Proxy or Intermediary
- Sep 28, 2026CVE-2026-101906 axios: denial of service (uncontrolled resource consumption)
- Sep 28, 2026CVE-2026-101905 axios: unintended Proxy or Intermediary
- Sep 28, 2026CVE-2026-101904 axios: injection
Questions about CVE-2025-58754
Is CVE-2025-58754 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of axios are affected by CVE-2025-58754?
axios from 1.0.0 before 1.12.0 and axios from 0.28.0 before 0.30.2, per the GitHub advisory GHSA-4hjh-wcwx-xvwj. The tables above give every range the sources list.
Which version fixes CVE-2025-58754?
1.12.0 and 0.30.2, per the GitHub advisory GHSA-4hjh-wcwx-xvwj. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58754?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58754?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.