GHSA-4g53-vp7q-gfjvHighDisclosed before NVD

constructEvent does not verify header

Published
May 28, 2021
Last Modified
January 9, 2023

📋 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 products1

  • npm/@worker-tools/stripe-webhook:< 1.1.4

🔗 References (2)