Vulnerability library
Security checkJuly 20, 2026

Axios form serializer maxDepth bypass via {} metatoken

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Axios versions in the fixed lines for GHSA-62hf-57xw-28j9 still contain an incomplete depth-limit bypass in lib/helpers/toFormData.js. When serializing an object with a top-level key ending in {}, axios calls JSON.stringify() on that value before the formSerializer.maxDepth guard can inspect the nested structure.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 1.15.1, < 1.18.0 >= 0.31.1, < 0.33.0**
  • Patched version(s): **1.18.0 0.33.0**

References

Could your website be exposed too?

SmartScanner can check your website for Axios form serializer maxDepth bypass via {} metatoken and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 20, 2026