ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-041

Details

The module doesn't sufficiently sanitize customer comments in the order receipt email template; this could be exploited to achieve Cross-site Scripting (XSS).

This vulnerability is mitigated by the fact that it only affects installations with Checkout (commerce_checkout) enabled, and the "Comments" checkout pane (id: customer_comments) is explicitly used, which is disabled by default.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/commerce
From 3.3.0 before 3.3.6 (fixed in 3.3.6)

References