⚠ Withdrawn by GitHub Security Advisories
Withdrawn: October 22, 2026
GHSA-hp3w-g68c-fv3cMediumCVSS 5.3
Withdrawn Advisory: sprintf-js vulnerable to denial of service through unbounded precision specifiers
🔗 CVE IDs covered (1)
📋 Description
Withdrawn Advisory
This advisory has been withdrawn because it is the responsibility of an application to handle exceptions appropriately. This link is maintained to preserve external references.
Original Description
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.
🎯 Affected products1
- npm/sprintf-js:<= 1.1.3
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-97058
- https://github.com/alexei/sprintf.js/issues/237
- https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L17
- https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L84-L90
- https://www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unbounded-precision
- https://github.com/alexei/sprintf.js/issues/237#issuecomment-6159075240
- https://github.com/advisories/GHSA-hp3w-g68c-fv3c