GHSA-4g53-vp7q-gfjv
high
constructEvent does not verify header
- Severity
- high rating by GitHub
- Published
- Last changed
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @worker-tools/stripe-webhook (npm) | before 1.1.4 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-4g53-vp7q-gfjv changed 2021-05-27 | CC-BY-4.0 |