Drupal security updates, in plain English · Module

Stripe API

232 sites report using it · on drupal.org · 1 security update explained here

This module connects the website to a payment platform to process transactions and receive updates.

Below is every security update for Stripe API 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.

Stripe API

Critical · 232 sites report using it · SA-CONTRIB-2026-343 · on drupal.org · Week of 2 December 2026

The module does not properly check incoming messages when a secret security key is missing. A person could send fake messages that the site accepts as real payments which could let them receive orders or access features without paying.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youA site is affected if no secret security key is set up to check incoming messages.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this critical. Cyber Essentials expects a fix within 14 days. Do it this week.

Tell your developerUpdate Stripe API to 4.0.3.

For developers: what the fix changed

The fix updates StripeApiWebhook::handleIncomingWebhook in src/Controller/StripeApiWebhook.php to reject incoming webhooks if no signing secret is configured. It also adds validation to StripeApiAdminForm::validateForm in src/Form/StripeApiAdminForm.php to require a signing secret when webhooks are enabled.

Also in this release The release also fixes PHP deprecations by adding explicit nullable types and return types and adds tests for the webhook signature verification.

4.0.2 to 4.0.3 2 commits, 12 files including 3 tests.

  • .deprecation-ignore.txt +3 −0
  • .gitlab-ci.yml +1 −1
  • config/install/stripe_api.settings.yml +1 −1 fix
  • src/Controller/StripeApiWebhook.php +14 −1 fix
  • src/Event/StripeApiWebhookEvent.php +1 −1
  • src/Event/StripeApiWebhookSubscriber.php +1 −1
  • src/Form/StripeApiAdminForm.php +29 −0 fix
  • src/Hook/StripeApiRequirements.php +51 −0 fix
  • stripe_api.install +45 −0 fix

Full diff, 4.0.2 to 4.0.3

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 membership bodies, charities 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.