SA-CONTRIB-2026-301: Critical severity composer/drupal/commerce_product_alternative vulnerability
This module lets customers replace an item in their cart with one of the alternative product variations listed for it. The module does not check that a cart belongs to the current visitor when the visitor is not logged in. An anonymous visitor can view items in other anonymous visitors' carts, including product names and prices, and replace those items with one of their listed alternatives. The vulnerability is mitigated by the fact that only carts of anonymous visitors are affected; carts of authenticated customers are not.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/commerce_product_alternativeto a version that resolves this vulnerability.Fixed in 1.0.1