CVE-2026-142398: Composer/drupal/stripe_api vulnerability
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/stripe_apito a version that resolves this vulnerability.Fixed in 4.0.3
Event History
Frequently Asked Questions
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.
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.
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.
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.