Uncontrolled Recursion Affecting org.webjars.npm:axios package, versions [0.30.2,1.18.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.34% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-18060168
  • published21 Jul 2026
  • disclosed20 Jul 2026
  • creditcleverlabs

Introduced: 20 Jul 2026

NewCVE-2026-67313  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:axios to version 1.18.0 or higher.

Overview

org.webjars.npm:axios is a promise-based HTTP client for the browser and Node.js.

Affected versions of this package are vulnerable to Uncontrolled Recursion in the buildPath() function of lib/helpers/formDataToJSON.js, which recurses once per FormData key path segment without enforcing a maximum depth. An attacker can crash the process by supplying a FormData field name with thousands of nested bracket segments, such as a[x][x][x]..., which drives formDataToJSON() into recursion that exhausts the JavaScript call stack with a RangeError. Exploitation requires the application to process untrusted FormData through formToJSON() or by sending it with a JSON content type.

CVSS Base Scores

version 4.0
version 3.1