CVE-2025-58754
Axios is vulnerable to DoS attack through lack of data size check
Description
Axios is a promise based HTTP client for the browser and Node.js. When Axios 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.
INFO
Published Date :
Sept. 12, 2025, 2:15 a.m.
Last Modified :
Sept. 29, 2025, 3:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Axios to version 1.11.0 or later.
- Ensure data URIs are validated before processing.
- Limit the size of data URIs.
Public PoC/Exploit Available at Github
CVE-2025-58754 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-58754
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-58754
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-58754
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
TypeScript JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-58754
vulnerability anywhere in the article.

-
Daily CyberSecurity
CVE-2025-10127 (CVSS 9.8): Critical Daikin Flaw Could Give Hackers Full System Access
The Cybersecurity and Infrastructure Security Agency (CISA) has issued a security advisory about a critical flaw in Daikin Security Gateway devices that could allow attackers to bypass authentication ... Read more

-
Daily CyberSecurity
CVE-2025-58754: Axios Vulnerability Puts Node.js Processes at Risk of DoS Attacks
The Axios project has released a security advisory for a newly discovered vulnerability affecting its popular promise-based HTTP client for Node.js and browsers. Tracked as CVE-2025-58754 with a CVSS ... Read more

-
Daily CyberSecurity
CISA Urges Immediate Patching: Critical Dassault Systèmes Flaw (CVE-2025-5086) Actively Exploited
The Cybersecurity and Infrastructure Security Agency (CISA) has added a critical flaw in Dassault Systèmes DELMIA Apriso to its Known Exploited Vulnerabilities (KEV) Catalog, following confirmed evide ... Read more
The following table lists the changes that have been made to the
CVE-2025-58754
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Sep. 29, 2025
Action Type Old Value New Value Changed Description Axios is a promise based HTTP client for the browser and Node.js. When Axios prior to version 1.11.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'`. Version 1.11.0 contains a patch for the issue. Axios is a promise based HTTP client for the browser and Node.js. When Axios 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. Added Reference https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67 Added Reference https://github.com/axios/axios/pull/7034 Added Reference https://github.com/axios/axios/releases/tag/v0.30.2 -
Initial Analysis by [email protected]
Sep. 20, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.12.0 Added Reference Type GitHub, Inc.: https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/axios/axios/pull/7011 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/axios/axios/releases/tag/v1.12.0 Types: Release Notes Added Reference Type CISA-ADP: https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 12, 2025
Action Type Old Value New Value Added Reference https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj -
New CVE Received by [email protected]
Sep. 12, 2025
Action Type Old Value New Value Added Description Axios is a promise based HTTP client for the browser and Node.js. When Axios prior to version 1.11.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'`. Version 1.11.0 contains a patch for the issue. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-770 Added Reference https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593 Added Reference https://github.com/axios/axios/pull/7011 Added Reference https://github.com/axios/axios/releases/tag/v1.12.0 Added Reference https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj