Disclosure summary
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.
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-hp3w-g68c-fv3c
Open original source · Updated Oct 05, 2026
sprintf-js vulnerable to denial of service through unbounded precision specifiers
Source severity: MEDIUM / 6.9
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | sprintf-js | Not supplied |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Reviewed advisory
PUBLISHED 2026-09-24T11:31:31-04:00
MODIFIED 2026-10-05T19:47:35-04:00
INGESTED 2026-10-06T11:45:42-04:00