# GHSA-4g53-vp7q-gfjv: constructEvent does not verify header

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-05-28T19:18:28.000Z
- Modified: 2021-05-27T22:24:49.000Z

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

(As written by GitHub Advisory Database.)

## Affected

- @worker-tools/stripe-webhook (npm): before 1.1.4

## References

- <https://github.com/worker-tools/stripe-webhook/security/advisories/GHSA-4g53-vp7q-gfjv> (web)

## Sources

- GitHub Advisory Database: [GHSA-4g53-vp7q-gfjv](https://github.com/advisories/GHSA-4g53-vp7q-gfjv), CC-BY-4.0, modified 2021-05-27

---

Page: https://cve.day/GHSA-4g53-vp7q-gfjv · Whole record: https://cve.day/GHSA-4g53-vp7q-gfjv.json · Rebuilt by cve.day 2026-11-25T22:56:43.994Z
