GitHub Advisory Database
GHSA-8r29-2mp2-pmrw
Payload Ecommerce has an order confirmation validation issue
Details
Impact
When using the Stripe payment adapter, an order confirmation could be processed more than once under certain conditions.
You are affected if:
- You use
@payloadcms/plugin-ecommercewith the Stripe payment adapter.
Deployments that do not use the Stripe payment flow are not affected.
Patches
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
Ensure Stripe order confirmations can only be processed once. This is a temporary mitigation; upgrading to a patched version is recommended.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @payloadcms/plugin-ecommerce | All versions before 3.90.0 (fixed in 3.90.0) |
| npm | @payloadcms/plugin-ecommerce | From 4.0.0-canary.0 before 4.0.0-canary.34 (fixed in 4.0.0-canary.34) |