CVE-2025-58754
CVE-2025-58754 is a high-severity vulnerability in Axios with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-770.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (62nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-28992
- Weakness: CWE-770
- Affected product: Axios
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-58754?
- 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.
- How severe is CVE-2025-58754?
- CVE-2025-58754 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-58754 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (62nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-58754?
- CVE-2025-58754 affects Axios. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-58754?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-58754 have an EU (EUVD) identifier?
- Yes. CVE-2025-58754 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-28992.
- When was CVE-2025-58754 published?
- CVE-2025-58754 was published on 2025-09-12 and last updated on 2026-06-17.
References
- https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593
- https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67
- https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06
- https://github.com/axios/axios/pull/7011
- https://github.com/axios/axios/pull/7034
- https://github.com/axios/axios/releases/tag/v0.30.2
- https://github.com/axios/axios/releases/tag/v1.12.0
- https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj
Affected products (1)
- cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
More vulnerabilities in Axios
- CVE-2025-62718 — Critical (CVSS 9.9): Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly…
- CVE-2026-44494 — High (CVSS 8.7): Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.16.0, the Axios library is…
- CVE-2026-44492 — High (CVSS 8.6): Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios does not normalise…
- CVE-2026-44496 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Axios versions before 0.32.0 on the 0.x line and…
- CVE-2026-44488 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Axios versions 1.7.0 through 1.15.x did not enforce…
- CVE-2026-44487 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios’s Node.js HTTP…
Other CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities
- CVE-2026-31283 — Critical (CVSS 9.8): In Totara LMS v19.1.5 and before, the forgot password API does not implement rate limiting for the target email…
- CVE-2020-37067 — Critical (CVSS 9.8): Filetto 1.0 FTP server contains a denial of service vulnerability in the FEAT command processing that allows attackers…
- CVE-2021-47875 — Critical (CVSS 9.8): GeoGebra CAS Calculator 6.0.631.0 contains a denial of service vulnerability that allows attackers to crash the…
- CVE-2025-11832 — Critical (CVSS 9.8): Allocation of Resources Without Limits or Throttling vulnerability in Azure Access Technology BLU-IC2, Azure Access…
- CVE-2024-44241 — Critical (CVSS 9.8): The issue was addressed with improved bounds checks. This issue is fixed in iOS 18.1 and iPadOS 18.1, macOS Sequoia…
- CVE-2022-3439 — Critical (CVSS 9.8): Allocation of Resources Without Limits or Throttling in GitHub repository ikus060/rdiffweb prior to 2.5.0.
Browse all CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 157.66.35.106 (ipv4-addr)