CVE-2026-142398: Composer/drupal/stripe_api vulnerability

Published Dec 2, 2026
·
Updated

This module provides an integration with the Stripe payment platform, including an endpoint for receiving Stripe webhook events and passing them on to other modules.

The module doesn't sufficiently verify incoming webhook requests when no webhook signing secret is configured. An attacker could send forged webhook events that the site accepts as genuine Stripe events and passes on to every module that reacts to them. Depending on the modules installed, this could let an attacker receive orders, subscriptions, donations, or access to functionality without making a payment.

Affected Software

1 affected componentFixes available
composer/drupal/stripe_api<4.0.3
4.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/stripe_api to a version that resolves this vulnerability.

    Fixed in 4.0.3

Event History

Dec 2, 2026
Advisory Published
via OSV·05:18 PM
Data Sourced
via OSV·05:18 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who is exposed to forged Stripe webhook events?

Sites using composer/drupal/stripe_api are exposed when they have not configured a Stripe webhook signing secret. The impact depends on which installed modules react to webhook events, including modules handling orders, subscriptions, donations, or access-related functionality.

2

What does an attacker need to exploit this issue?

An attacker needs to be able to send requests to the site's Stripe webhook endpoint. When no webhook signing secret is configured, the module may accept forged events as genuine Stripe events.

3

How can I determine whether my site is affected?

Check whether composer/drupal/stripe_api is installed and whether a webhook signing secret is configured for its Stripe webhook endpoint. A missing signing secret is the condition described as insufficiently protected.

4

What can be done if an update cannot be applied immediately?

Configure a Stripe webhook signing secret so incoming webhook requests can be verified. Also review modules that consume Stripe webhook events because accepted forged events may trigger their payment or access-related actions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203