Skip to content
OpenAdvisories
High GHSA-4g53-vp7q-gfjv

constructEvent does not verify header

Published May 28, 2021 · Updated May 27, 2021 · Assigned by GHSA

Description

### 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

Affected packages

EcosystemPackageAffectedFixedRecord
npm @worker-tools/stripe-webhook < 1.1.4 1.1.4 GHSA-4g53-vp7q-gfjv

References