Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2021-41120: Sylius PayPal Plugin Leaks Customer Info in Public URL

CVE-2021-41120 · published 5 years ago
Summary

The Sylius PayPal plugin creates a public URL for payment pages that can reveal sensitive customer information. This is a security risk because the URL is predictable, and the customer's name and other info can be accessed without authentication. To fix this, update to Sylius PayPal Plugin 1.2.4 or 1.3.1, or use workarounds like customizing the form and template to add extra security measures.

What to do
  • Update sylius paypal-plugin to version 1.2.4.
  • Update sylius paypal-plugin to version 1.3.1.
Affected software
Ecosystem VendorProductAffected versions
composer sylius paypal-plugin >= 1.0.0, < 1.2.4
>= 1.3.0, < 1.3.1
Fix: upgrade to 1.2.4
– sylius paypal >= 1.0.0, < 1.2.4
>= 1.3.0, < 1.3.1
cpe:2.3:a:sylius:paypal:*:*:*:*:*:sylius:*:*
Original advisory text
sylius/paypal-plugin is a paypal plugin for the Sylius development platform. In affected versions the URL to the payment page done after checkout was created with autoincremented payment id (/pay-w...
sylius/paypal-plugin is a paypal plugin for the Sylius development platform. In affected versions the URL to the payment page done after checkout was created with autoincremented payment id (/pay-with-paypal/{id}) and therefore it was easy to predict. The problem is that the Credit card form has prefilled "credit card holder" field with the Customer's first and last name and hence this can lead to personally identifiable information exposure. Additionally, the mentioned form did not require authentication. The problem has been patched in Sylius/PayPalPlugin 1.2.4 and 1.3.1. If users are unable to update they can override a sylius_paypal_plugin_pay_with_paypal_form route and change its URL parameters to (for example) {orderToken}/{paymentId}, then override the Sylius\PayPalPlugin\Controller\PayWithPayPalFormAction service, to operate on the payment taken from the repository by these 2 values. It would also require usage of custom repository method. Additionally, one could override the @SyliusPayPalPlugin/payWithPaypal.html.twig template, to add contingencies: ['SCA_ALWAYS'] line in hostedFields.submit(...) function call (line 421). It would then have to be handled in the function callback.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
7.5 High
Exploitation
1% chance of attack within 30 days
Type
CWE-200Information Exposure
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published5 Oct 2021
Updated3 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta