CVE-2023-23941 SwagPayPal payment not sent to PayPal correctly
Attackers can manipulate order amounts and item lists in PayPal checkout flows, leading to financial discrepancies in Shopware stores.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-23941?
CVE-2023-23941 is a high-severity vulnerability in shopware SwagPayPal, published on 3 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SwagPayPal is a PayPal integration for shopware/platform. 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. The problem has been fixed with version 5.4.4. As a workaround, disable the aforementioned payment methods or use the Security Plugin in version >= 1.0.21.
Weakness: CWE-345
Which versions are affected by CVE-2023-23941?
2 open source packages ship an affected version, including swag/paypal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
swag/paypal Packagist | All versions | 5.4.4 |
swag/paypal Packagist | All versions | 5.4.4 |
Products include Shopware Swagpaypal.
How do I fix CVE-2023-23941?
Upgrade swag/paypal to 5.4.4 or later.
Is CVE-2023-23941 being exploited?
There is no known exploitation of CVE-2023-23941 in the wild and no public exploit code.
Sources
Also known as GHSA-vxpm-8hcp-qh27.