Denial of Service Vulnerability in Axios HTTP Client for Node.js
CVE-2025-58754
7.5HIGH
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