GitHub Advisory Database
GHSA-vxpm-8hcp-qh27
Payment information sent to PayPal not necessarily identical to created order
Details
Impact
If JavaScript-based PayPal checkout methods are used (PayPal Plus, Smart Payment Buttons, SEPA, Pay Later, Venmo, Credit card), the amount and item list sent to PayPal may not be identical to the one in the created order.
Patches
The problem has been fixed with version 5.4.4
Workarounds
Disable the aforementioned payment methods or use the Security Plugin in version >= 1.0.21.
References
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | swag/paypal | All versions before 5.4.4 (fixed in 5.4.4) |