{"schema_version":"1.9.0","id":"GHSA-hp3w-g68c-fv3c","published":"2026-09-24T15:31:31Z","modified":"2026-10-22T19:30:03.876804485Z","withdrawn":"2026-10-22T19:21:04Z","aliases":["CVE-2026-97058"],"summary":"Withdrawn Advisory: sprintf-js vulnerable to denial of service through unbounded precision specifiers","details":"### Withdrawn Advisory\nThis advisory has been withdrawn because it is the responsibility of an application to handle exceptions appropriately. This link is maintained to preserve external references.\n\n### Original Description\nsprintf-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":[{"package":{"name":"sprintf-js","ecosystem":"npm","purl":"pkg:npm/sprintf-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-hp3w-g68c-fv3c/GHSA-hp3w-g68c-fv3c.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97058"},{"type":"WEB","url":"https://github.com/alexei/sprintf.js/issues/237"},{"type":"WEB","url":"https://github.com/alexei/sprintf.js/issues/237#issuecomment-6159075240"},{"type":"PACKAGE","url":"https://github.com/alexei/sprintf.js"},{"type":"WEB","url":"https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L17"},{"type":"WEB","url":"https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L84-L90"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unbounded-precision"}],"database_specific":{"cwe_ids":["CWE-1284"],"github_reviewed":true,"github_reviewed_at":"2026-10-05T23:47:34Z","nvd_published_at":"2026-09-24T14:18:21Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}