Lucene search

K
osvGoogleOSV:GHSA-4G53-VP7Q-GFJV
HistoryMay 28, 2021 - 7:18 p.m.

constructEvent does not verify header

2021-05-2819:18:28
Google
osv.dev
10
stripe
webhook
vulnerability
patch
upgrade
verify
header
function
library
workaround
issue
software

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