UnratednpmAmendedPublished
constructEvent does not verify header
GHSA-4g53-vp7q-gfjv
- Affected
- npm @worker-tools/stripe-webhook < 1.1.4
- Fixed in
- 1.1.4· Vendor fix available
- Issue
- Impact Anyone verifying a Stripe webhook request via this library's constructEvent function. Patches Upgrade to 1.1.4. Workarounds Use await verifyHeader(...) directly instead of constructEvent. References https://github.com/worker-tools/stripe-webhook/issues/1
Recommended action: Upgrade to 1.1.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.