drupal/commerce_product_alternative - SA-CONTRIB-2026-301
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/commerce_product_alternative | < 1.0.1 | 1.0.1 |
| Drupal module | drupal/commerce_product_alternative | < 1.0.1 | 1.0.1 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/commerce_product_alternative- Disclosed
- 04.11.2026
- Updated
- 04.11.2026 22:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-301 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/commerce_product_alternative
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.