Vulnerability
CVE-2025-58754
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.
173 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2256-4hg2-wjgg
- CGA-2423-7jvr-hjmx
- CGA-298c-5xj2-v4q6
- CGA-2cjm-w7ff-pccp
- CGA-2gw2-x7jg-5f2p
- CGA-2jpv-cfh6-4g8m
- CGA-2rm4-jmcr-9fm7
- CGA-36vc-rc7q-jrfx
- CGA-36wr-h32j-x2fr
- CGA-3f49-7f7x-pqq3
- CGA-3g3q-5xx8-hf6m
- CGA-3hq3-v5wj-6qv2
- CGA-3hw2-w5j3-qjw8
- CGA-3q5p-rqfx-6543
- CGA-43x2-757c-2f8r
- CGA-49gc-8h5w-669w
- CGA-4fwm-r862-h754
- CGA-4j6f-6xpc-c7w5
- CGA-4jg4-9h82-266r
- CGA-4pr6-hjxm-325r
- CGA-4qpf-622j-8m22
- CGA-4r5h-6pfm-557c
- CGA-4rv2-h4hf-qm4r
- CGA-52vc-fcqr-fc9c
- CGA-52wm-9mf3-75jm
- CGA-536g-jj95-67x2
- CGA-59w5-wrjp-fxjm
- CGA-5g4g-7rmm-c62j
- CGA-5pxx-w5v6-p2c4
- CGA-5vwm-h5xc-vq2p
- CGA-5wj9-mh3f-9fwf
- CGA-6374-g7r2-jf84
- CGA-65x6-hcgv-6h88
- CGA-67j7-wp45-mwfm
- CGA-6gvw-6jg4-jhqv
- CGA-6phr-gx87-4j56
- CGA-6q4q-jv2x-cpjh
- CGA-6qr8-m63x-3xmw
- CGA-6r98-9v97-f88c
- CGA-6vhw-v7gf-97cx
- CGA-6w4q-9h9j-3259
- CGA-73r4-g87m-hr77
- CGA-762j-mv3c-4fxr
- CGA-764v-j7cw-mxcm
- CGA-79p6-jjwv-pgrg
- CGA-79wx-84jh-vpv8
- CGA-7ghf-rfx7-wfqv
- CGA-7j6c-64qh-4j74
- CGA-7p5w-5c4r-5crh
- CGA-7p85-pjv4-m2f9
- CGA-7qx8-rmcp-pv5r
- CGA-82j5-jm2q-3fwj
- CGA-839g-6442-8q6w
- CGA-84fm-gmcj-mvq7
- CGA-8c27-2j3r-gp25
- CGA-8cfg-8m5h-85gc
- CGA-8hc6-gv2m-h6wm
- CGA-8j47-gwgj-vw87
- CGA-8jx9-rmff-jfjv
- CGA-8m2x-jjhq-9q7c
- CGA-8mpw-4rmq-xw46
- CGA-8q24-rhj4-6r6p
- CGA-8x95-xww7-2p26
- CGA-947r-mvh4-mf3r
- CGA-9rcv-m9p3-5ggw
- CGA-9vm8-gqgc-3jr9
- CGA-9vr4-p5h3-rmv9
- CGA-9wc6-7pp8-5c44
- CGA-c2q5-8484-48x6
- CGA-c3xw-c63j-4p9x
- CGA-c6mv-pq9r-qc6p
- CGA-cfqg-6xcg-6288
- CGA-cfv9-74v8-39r7
- CGA-chvx-8v5v-p7pf
- CGA-cjxf-9cg3-x5q6
- CGA-cpgm-5693-gxp9
- CGA-f55p-p8jg-5f73
- CGA-f5vw-hc22-98x4
- CGA-f929-73r4-hr5m
- CGA-fc4j-5pfj-q4wq
- CGA-ffrq-745w-c828
- CGA-fjcp-h8fj-f8w5
- CGA-fm5f-w7p5-q9wr
- CGA-fmhm-qpj5-5mq8
- CGA-frvc-j4fg-4gpm
- CGA-frwp-fwwm-p3ph
- CGA-h3wv-x37p-h9hp
- CGA-h5c7-wgm9-j4wf
- CGA-h87v-9m7h-cwjw
- CGA-hfpp-rhxv-273j
- CGA-hh7x-r3fm-c55r
- CGA-hhc7-7g6g-p9w5
- CGA-hjg6-x58j-wggp
- CGA-hjm6-p9qm-vf4p
- CGA-hm4j-3w5v-pw9j
- CGA-hmq5-pjm6-m254
- CGA-hwqc-4gvv-mmgf
- CGA-hx4r-f2xf-f9r2
- CGA-j45g-64q7-4p4j
- CGA-j6v6-q8rh-mchj
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2025-58754.
References
- 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/pull/7011
- https://github.com/axios/axios/pull/7034
- https://github.com/axios/axios/releases/tag/v0.30.2
- https://github.com/axios/axios/releases/tag/v1.12.0
- https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj