Vulnerability in Alexei Sprintf-Js
CVE-2026-97058
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/alexei/sprintf.js/issues/237 (issue-tracking)
- github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/… (technical-description)
- github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/… (technical-description)
- github.com/alexei/sprintf.js (product)
- www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unb… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-97058?
- CVE-2026-97058 is a medium-severity vulnerability in Alexei Sprintf-Js, classified under Improper Validation of Specified Quantity in Input. CVSS score: 5.3/10. Published 2026-09-24.
- How severe is CVE-2026-97058?
- Medium severity. CVSS v3 base score is 5.3 out of 10.