{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58754","id":"CVE-2025-58754","title":"Axios is vulnerable to DoS attack through lack of data size check","description":"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` / `maxB","descriptionLong":"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.","published":"2025-09-12T01:16:40.513Z","updated":"2026-10-28T02:31:08.638900688Z","reserved":"2025-09-04T19:18:09.499Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["axios"],"affectedProducts":[{"vendor":"axios","product":"axios","defaultStatus":null,"versions":[{"version":">= 1.0.0, < 1.12.0","status":"affected"},{"version":">= 0.28.0, < 0.30.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"axios","purl":"pkg:npm/axios","ranges":[">=1.0.0 <1.12.0",">=0.28.0 <0.30.2"],"fixed":["1.12.0","0.30.2"],"advisory":"GHSA-4hjh-wcwx-xvwj"}],"cwes":["CWE-770"],"aliases":["GHSA-4hjh-wcwx-xvwj"],"references":[{"url":"https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/axios/axios/pull/7011","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/axios/axios/pull/7034","tags":["x_refsource_MISC","Issue Tracking","fix","web"]},{"url":"https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/axios/axios/releases/tag/v0.30.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/axios/axios/releases/tag/v1.12.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58754.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58754","tags":["advisory"]},{"url":"https://github.com/axios/axios","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01196,"epssPercentile":0.68742,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58754","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58754","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58754","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4hjh-wcwx-xvwj","ok":true,"note":"GHSA-4hjh-wcwx-xvwj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58754","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}