{
  "id": "CVE-2025-58754",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58754",
  "published_at": "2025-09-12T01:16:40.513Z",
  "title": "Axios is vulnerable to DoS attack through lack of data size check",
  "vendor": "axios",
  "product": "axios",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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` / `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.",
  "cwe": "CWE-770",
  "cpes": [
    "cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "axios",
        "product": "axios",
        "ranges": [
          "\u003e= 1.0.0, \u003c 1.12.0",
          "\u003e= 0.28.0, \u003c 0.30.2"
        ],
        "fixed_in": [
          "1.12.0",
          "0.30.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade axios to 1.12.0 or 0.30.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/axios/axios/pull/7011"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/axios/axios/pull/7034"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/axios/axios/releases/tag/v0.30.2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/axios/axios/releases/tag/v1.12.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
