CVE-2026-97058
sprintf-js through 1.1.3 Denial of Service via Unbounded Precision
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
sprintf-js through 1.1.3 passes unbounded precision specifiers to toFixed, toExponential, and toPrecision methods without validation, causing uncaught RangeError exceptions. Attackers who control format strings can inject precision values exceeding ECMAScript limits to abort calling operations with minimal payload.
| CWE | CWE-1284 |
| Vendor | alexei |
| Product | sprintf-js |
| Published | Sep 24, 2026 |
| Last Updated | Sep 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for alexei sprintf-js
Be the first to know when new medium vulnerabilities affecting alexei sprintf-js are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
alexei / sprintf-js
0 โค 1.1.3
References
github.com: https://github.com/alexei/sprintf.js/issues/237 github.com: https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L17 github.com: https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L84-L90 github.com: https://github.com/alexei/sprintf.js vulncheck.com: https://www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unbounded-precision
Credits
Wayde Shi (PayPal Cyber Security Team)