External Control of Assumed-Immutable Web Parameter Affecting sylius/paypal-plugin package, versions <1.6.1>=1.7.0, <1.7.1>=2.0.0, <2.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYLIUSPAYPALPLUGIN-9460803
  • published18 Mar 2025
  • disclosed17 Mar 2025
  • creditMichel Chowanski

Introduced: 17 Mar 2025

NewCVE-2025-29788  (opens in a new tab)
CWE-472  (opens in a new tab)

How to fix?

Upgrade sylius/paypal-plugin to version 1.6.1, 1.7.1, 2.0.1 or higher.

Overview

sylius/paypal-plugin is a PayPal plugin for Sylius.

Affected versions of this package are vulnerable to External Control of Assumed-Immutable Web Parameter. The user-input payment amount is not adequately confirmed to be the same between initial entry and payment completion, in ProcessPayPalOrderAction.php and CompletePayPalOrderFromPaymentPageAction.php An attacker can intentionally pay less than the actual total order amount by modifying the item quantity in their shopping cart during checkout.

Workaround

This vulnerability can be worked around by manually patching ProcessPayPalOrderAction, CompletePayPalOrderFromPaymentPageAction, and CaptureAction to include payment amount verification logic.

CVSS Base Scores

version 4.0
version 3.1