# CVE-2021-41120: Unauthorized access to Credit card form in sylius/paypal-plugin

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-10-05T20:35:10.000Z
- Modified: 2026-07-08T06:27:30.215Z
- Also known as: GHSA-25fx-mxc2-76g7
- Weaknesses: CWE-200, CWE-639
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Sylius PayPalPlugin: >= 1.0.0, < 1.2.4; >= 1.3.0, < 1.3.1
- sylius/paypal-plugin (Packagist): from 1.0.0 before 1.2.4; from 1.3.0 before 1.3.1
- sylius paypal: from 1.0.0 before 1.2.4; from 1.3.0 before 1.3.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/Sylius/PayPalPlugin/security/advisories/GHSA-25fx-mxc2-76g7> (mitigation, third-party-advisory, web)
- <https://github.com/Sylius/PayPalPlugin/commit/2adc46be2764ccee22b4247139b8056fb8d1afff> (patch, third-party-advisory, web)
- <https://github.com/Sylius/PayPalPlugin/commit/814923c2e9d97fe6279dcee866c34ced3d2fb7a7> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41120> (advisory)
- <https://github.com/Sylius/PayPalPlugin> (package)

## Sources

- CVE List: [CVE-2021-41120](https://www.cve.org/CVERecord?id=CVE-2021-41120), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-25fx-mxc2-76g7](https://github.com/advisories/GHSA-25fx-mxc2-76g7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41120](https://nvd.nist.gov/vuln/detail/CVE-2021-41120), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41120 · Whole record: https://cve.day/CVE-2021-41120.json · Rebuilt by cve.day 2026-11-25T22:58:04.316Z
