Denial of Service Vulnerability in Axios HTTP Client for Node.js
CVE-2025-58754

7.5HIGH

Key Information:

Vendor

AxiOS

Status
Vendor
CVE Published:
12 September 2025

What is CVE-2025-58754?

A flaw exists in Axios, an HTTP client for Node.js, affecting versions prior to 1.11.0. When handling URLs with the 'data:' scheme, the client decodes the full payload into memory rather than performing a proper HTTP request. This can lead to unregulated memory consumption, as the payload size is not limited by 'maxContentLength' or 'maxBodyLength' settings, resulting in a potential denial of service as the application can crash due to excessive memory allocation. Users are advised to upgrade to version 1.11.0 or later, where this vulnerability has been addressed.

Affected Version(s)

axios < 1.12.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-58754 : Denial of Service Vulnerability in Axios HTTP Client for Node.js