CVE-2025-58754
September 12, 2025
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.
Affected Packages
axios (CDN_JS):
Affected version(s) >=0.1.0 <0.30.2Fix Suggestion:
Update to version 0.30.2axios (CDN_JS):
Affected version(s) >=1.0.0 <1.12.0Fix Suggestion:
Update to version 1.12.0https://github.com/axios/axios.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.12.0Fix Suggestion:
Update to version v1.12.0axios (NPM):
Affected version(s) >=0.28.0 <0.30.2Fix Suggestion:
Update to version 0.30.2axios (NPM):
Affected version(s) >=0.1.0 <0.30.2Fix Suggestion:
Update to version 0.30.2axios (NPM):
Affected version(s) >=1.0.0 <1.12.0Fix Suggestion:
Update to version 1.12.0Related ResourcesĀ (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.1