# Axios is vulnerable to DoS attack through lack of data size check

Advisory record · `GHSA-4hjh-wcwx-xvwj`

- **Identifiers:** `GHSA-4hjh-wcwx-xvwj` · `CVE-2025-58754`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 11 Sept 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Sept 2025, 21:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `axios` (npm): affected `>=1.0.0, <1.12.0 || >=0.28.0, <0.30.2`; fixed in `1.12.0`, `0.30.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.012, the 68th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 11 Sept 2025, 19:35 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj)

## Sources

- [GitHub Advisory Database: GHSA-4hjh-wcwx-xvwj](https://github.com/advisories/GHSA-4hjh-wcwx-xvwj)
- [OSV: GHSA-4hjh-wcwx-xvwj](https://osv.dev/vulnerability/GHSA-4hjh-wcwx-xvwj)
- <https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58754>
- <https://github.com/axios/axios/pull/7011>
- <https://github.com/axios/axios/pull/7034>
- <https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593>
- <https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67>
- <https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06>
- <https://github.com/axios/axios>
- <https://github.com/axios/axios/releases/tag/v0.30.2>
- <https://github.com/axios/axios/releases/tag/v1.12.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4hjh-wcwx-xvwj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4hjh-wcwx-xvwj/>. Everything for agents: <https://agentprime.io/llms.txt>.
