@worker-tools/stripe-webhook
Affected
- introduced
0, fixed1.1.4(semver)
Fixed versions
1.1.4
Fix
- Fixed version
1.1.4npm install @worker-tools/[email protected]
Advisory
Also known as: None
constructEvent does not verify header
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
High Basis: The source's own band: HIGH
0, fixed 1.1.4 (semver)1.1.4
1.1.4npm install @worker-tools/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0