{"id":"GHSA-4g53-vp7q-gfjv","aliases":["GHSA-4g53-vp7q-gfjv"],"related":[],"kind":"vulnerability","state":"published","title":"constructEvent does not verify header","summary":"### Impact\nAnyone verifying a Stripe webhook request via this library's `constructEvent` function.\n\n### Patches\nUpgrade to 1.1.4. \n\n### Workarounds\nUse `await verifyHeader(...)` directly instead of `constructEvent`.\n\n### References\nhttps://github.com/worker-tools/stripe-webhook/issues/1","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nAnyone verifying a Stripe webhook request via this library's `constructEvent` function.\n\n### Patches\nUpgrade to 1.1.4. \n\n### Workarounds\nUse `await verifyHeader(...)` directly instead of `constructEvent`.\n\n### References\nhttps://github.com/worker-tools/stripe-webhook/issues/1","format":"markdown","source":"ghsa"}],"published":"2021-05-28T19:18:28.000Z","modified":"2021-05-27T22:24:49.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.4"}],"ecosystem":"npm","package":"@worker-tools/stripe-webhook","purl":"pkg:npm/%40worker-tools/stripe-webhook","source":"ghsa"}],"references":[{"url":"https://github.com/worker-tools/stripe-webhook/security/advisories/GHSA-4g53-vp7q-gfjv","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4g53-vp7q-gfjv","url":"https://github.com/advisories/GHSA-4g53-vp7q-gfjv","licence":"CC-BY-4.0","modified":"2021-05-27T22:24:49.000Z"}],"updatedAt":"2026-11-25T22:56:43.994Z"}