Skip to content
Heist/ feed
Back to feed
Medium

axios 0.28.0 before 1.18.0 Denial of Service via formDataToJSON

Type: advisorySources: OSV

axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-67313
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:15 UTC · Revision 1

Source evidence

axios 0.28.0 before 1.18.0 Denial of Service via formDataToJSON

core-osv · Original source

Published 1 Aug 2026, 12:22 UTC

axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.

osv:CVE-2026-67313
Complete source record
{
  "id": "8a9f046ad416d07c9775c8c1dd1302c9f081bd722cd10baf8b6d68767da5c2a3",
  "url": "https://osv.dev/vulnerability/CVE-2026-67313",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "axios 0.28.0 before 1.18.0 Denial of Service via formDataToJSON",
    "summary": "axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.",
    "evidence": "osv:CVE-2026-67313",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-67313",
      "aliases": [
        "CVE-2026-67313",
        "GHSA-42h9-826w-cgv3"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/axios/axios",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3b7635aefc842c05da0ec8c90e8bd09cb54616b8"
                },
                {
                  "fixed": "2d06f96e8602c2db13b65a26340ee4a1bbc0b61f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.28.0"
                      },
                      {
                        "fixed": "1.18.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.28.0"
                      },
                      {
                        "fixed": "1.18.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67313.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.813089889Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67313.json",
        "https://github.com/axios/axios/security/advisories/GHSA-42h9-826w-cgv3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-67313",
        "https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formdatatojson"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67313.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-67313",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513764,
  "published_at": "2026-08-01T12:22:16.493+00:00"
}