7.5
HIGH CVSS 3.1
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 !
Affected Products

The following products are affected by CVE-2025-58754 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Axios axios
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
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 to fix a DoS vulnerability.
  • 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.

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:

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

Updated: 4 days, 9 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 6, 2025, 8:18 p.m. This repo has been linked 2 different CVEs too.

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

Published Date: Sep 12, 2025 (1 month, 1 week ago)
  • 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

Published Date: Sep 12, 2025 (1 month, 1 week ago)
  • 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

Published Date: Sep 12, 2025 (1 month, 1 week ago)

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact