CVE-2025-58754

7.5 HIGH
Published: September 12, 2025 Modified: October 24, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/axios/axios/pull/7011
Source: security-advisories@github.com
Issue Tracking Patch
https://github.com/axios/axios/pull/7034
Source: security-advisories@github.com
Issue Tracking
https://github.com/axios/axios/releases/tag/v0.30.2
Source: security-advisories@github.com
Release Notes
https://github.com/axios/axios/releases/tag/v1.12.0
Source: security-advisories@github.com
Release Notes
https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory

8 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.0%
7th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

axios