Improper Validation of Specified Quantity in Input The advisory has been revoked - it doesn't affect any version of package sprintf-js  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.4% (33rd 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-JS-SPRINTFJS-20532016
  • published6 Oct 2026
  • disclosed24 Sept 2026
  • creditWayde Shi

Introduced: 24 Sep 2026

NewCVE-2026-97058  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

There is no fixed version for sprintf-js.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via unbounded precision specifiers passed without validation to the toFixed, toExponential, and toPrecision methods. An attacker who controls a format string can inject precision values exceeding ECMAScript limits, causing uncaught RangeError exceptions that abort the calling operation. Note: CVE-2026-97058 was rejected by the CVE List.