Description

axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.

Severity (CVSS)

Base score6.9
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-674 — Uncontrolled Recursion

Affected products

VendorProductVersions
axiosaxios0.31.1 to <0.33.0; 0.33.0
axiosaxios1.15.1 to <1.18.0; 1.18.0

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 02 Aug 2026 07:05 UTC.