GHSA-4g53-vp7q-gfjv
JSON

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

https://github.com/worker-tools/stripe-webhook/issues/1

Affected

Product or packageVersionsReported by
@worker-tools/stripe-webhook (npm)before 1.1.4GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-4g53-vp7q-gfjv changed 2021-05-27CC-BY-4.0