Vulnerability · Published Mar 17, 2025 · Assigned by GitHub_M
CVE-2025-29788Sylius PayPal Plugin Payment Amount Manipulation Vulnerability
Medium 6.5
In plain English
A medium-severity security flaw in PayPalPlugin from Sylius. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The Syliud PayPal Plugin is the Sylius Core Team’s plugin for the PayPal Commerce Platform. A vulnerability in versions prior to 1.6.1, 1.7.1, and 2.0.1 allows users to manipulate the final payment amount processed by PayPal. If a user modifies the item quantity in their shopping cart after initiating the PayPal Express Checkout process, PayPal will not receive the updated total amount. As a result, PayPal captures only the initially transmitted amount, while Sylius incorrectly considers the order fully paid based on the modified total. This flaw can be exploited both accidentally and intentionally, potentially enabling fraud by allowing customers to pay less than the actual order value. Attackers can intentionally pay less than the actual total order amount, business owners may suffer financial losses due to underpaid orders, and integrity of payment processing is compromised. The issue is fixed in versions 1.6.1, 1.7.1, 2.0.1, and above. To resolve the problem in the end application without updating to the newest patches, there is a need to overwrite `ProcessPayPalOrderAction`, `CompletePayPalOrderFromPaymentPageAction`, and `CaptureAction` with modified logic.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | sylius/paypal-plugin | 1.6.1 | GHSA-pqq3-q84h-pj6x |
| Packagist | sylius/paypal-plugin | 1.7.1 | GHSA-pqq3-q84h-pj6x |
| Packagist | sylius/paypal-plugin | 2.0.1 | GHSA-pqq3-q84h-pj6x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Sylius | PayPalPlugin | < 1.6.1>= 1.7, < 1.7.1>= 2.0, < 2.0.1 |
Weakness: CWE-472 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/Sylius/PayPalPlugin/security/advisories/GHSA-pqq3-q84h-pj6x x_refsource_CONFIRM
- https://github.com/Sylius/PayPalPlugin/commit/31e71b0457e5d887a6c19f8cfabb8b16125ec406 x_refsource_MISC
- https://github.com/Sylius/PayPalPlugin/commit/8a81258f965b7860d4bccb52942e4c5b53e6774d x_refsource_MISC
- https://github.com/Sylius/PayPalPlugin/releases/tag/v1.6.1 x_refsource_MISC
- https://github.com/Sylius/PayPalPlugin/releases/tag/v1.7.1 x_refsource_MISC
- https://github.com/Sylius/PayPalPlugin/releases/tag/v2.0.1 x_refsource_MISC