Feed
7.5HIGH

CVE-2025-58754Axios is vulnerable to DoS attack through lack of data size check

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.4%
percentile 73%
Priority
40/100 medium
how it is computed
Fix
Named by a source
CVE published 12 Sept 2025

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.4% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • axios (npm) pkg:npm/axios

    • Affected>= 1.0.0, < 1.12.0Fixed in1.12.0OSV (GHSA-4hjh-wcwx-xvwj)
    • Affected>= 0.28.0, < 0.30.2Fixed in0.30.2OSV (GHSA-4hjh-wcwx-xvwj)
  • axios axios product:axios/axios

    • Affected>= 1.0.0, < 1.12.0Affected range ends before1.12.0as published by CNA (CVE List)
    • Affected>= 0.28.0, < 0.30.2Affected range ends before0.30.2as published by CNA (CVE List)
    • Affected< 0.30.2Affected range ends before0.30.2as published by CPE data (via the NVD API)
    • Affected>= 1.0.0, < 1.12.0Affected range ends before1.12.0as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
CNA ([email protected])
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-770
Exploitation (CISA SSVC)
poc
Automatable (CISA SSVC)
yes
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 12 Sept 2025Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 49 min ago · osv 48 min ago · nvd 17 min ago · epss 48 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-4hjh-wcwx-xvwj