# CVE-2026-118560: Drupal Commerce Stripe cross-site scripting in payment gateway configuration

Source: https://junglewise.ai/threats/cve-2026-118560-improper-neutralization-of-input-during-web-page-generation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-118560 · Severity: info · Published 2026-10-30

Drupal Commerce Stripe is a payment processing module that integrates Stripe payment solutions with Drupal e-commerce sites. A cross-site scripting (XSS) vulnerability in versions 2.0.0 through 2.2.2 could allow an attacker with administrator permissions to inject malicious scripts, potentially compromising site functionality or stealing data from other administrators or customers. The vulnerability requires a rare combination of conditions: administrator access, Stripe Connect configuration, and compromise of an external service.

Technologies: [Drupal Commerce Stripe](https://junglewise.ai/threats/technologies/commerce-stripe). Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal).

## Quick answers

**Is CVE-2026-118560 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-118560 being exploited in the wild.

**How severe is CVE-2026-118560?** Informational severity, published 30 October 2026.

**Which products and versions are affected?** Drupal Commerce Stripe 2.0.0 to 2.2.2.

**Is there a fix for CVE-2026-118560?** Yes: fixed in Commerce Stripe 2.2.3. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-118560 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-118560?** Check whether you run Drupal Commerce Stripe at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Commerce Stripe 2.2.3

## Technical details

The module improperly neutralizes user input during web page generation in the Stripe Connect payment gateway configuration interface, creating a stored XSS vulnerability. Exploitation requires an attacker to have administrator permissions to configure payment gateways and to compromise an external Stripe service. The vulnerability is mitigated by high privilege requirements and the need for external service compromise, which the advisory rates as "Theoretical" exploitability.

## Affected products

- Drupal Commerce Stripe 2.0.0 to 2.2.2

## Timeline

- 2026-10-28: disclosed
- 2026-10-28: advisory: Drupal Security Advisory SA-CONTRIB-2026-265

## References

- [https://www.drupal.org/project/commerce_stripe](https://www.drupal.org/project/commerce_stripe)
- [https://www.drupal.org/sa-contrib-2026-265](https://www.drupal.org/sa-contrib-2026-265)

## Related threats

- [Drupal Commerce Stripe improper webhook signature verification](https://junglewise.ai/threats/cve-2026-118559-drupal-contrib-2026-264-this-module-enables-you-to-take-payments)
- [Drupal Commerce Stripe CSRF in Connect redirect](https://junglewise.ai/threats/cve-2026-118558-drupal-contrib-2026-263-this-module-enables-you-to-use-the)
- [Drupal Commerce Stripe cross-site scripting](https://junglewise.ai/threats/drupal-contrib-2026-265-this-module-enables-you-to-use-the-stripe-9ebeb545)
