Drupal security updates, in plain English · Module

Commerce PayPal

9,116 sites report using it · on drupal.org · 1 security update explained here

This module allows a website to take payments through PayPal.

Below is every security update for Commerce PayPal that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Commerce PayPal

Moderately critical · 9,116 sites report using it · SA-CONTRIB-2026-095 · on drupal.org · Week of 12 August 2026

A visitor could trick the website into recording an order as paid when no money had actually been transferred. They could create false payment records in the system. They could not read any private information belonging to other customers.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youThis applies to sites using the Payflow Link payment method.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Commerce PayPal to 2.1.3 or 8.x-1.12, whichever branch you are on.

For developers: what the fix changed

The fix adds validation in the `onReturn` method of `PayflowLink.php` by verifying the `SECURETOKEN` against the order data and making a server-to-server API request to PayPal to confirm the transaction details and amount before creating the payment.

Also in this release Modernised logging to use `json_encode` instead of `print_r` and fixed PHPStan issues in `CreditMessaging.php`.

2.1.2 to 2.1.3 2 commits, 2 files.

  • src/Plugin/Commerce/PaymentGateway/PayflowLink.php +67 −29 fix
  • src/Plugin/views/area/CreditMessaging.php +8 −31

Full diff, 2.1.2 to 2.1.3 · Full diff, 8.x-1.11 to 8.x-1.12

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.